Commit Graph

76 Commits

Author SHA1 Message Date
Angus McLeod ef5b3ee1ff FEATURE: Allow provider to set email verification state (#17) 2019-06-26 11:03:52 +01:00
David Taylor 725717339e DEV: Remove use of deprecated parameter 2019-06-26 10:52:23 +01:00
Neil Lalonde e6bf026293 Update translations 2019-06-17 13:58:00 -04:00
Neil Lalonde fe9bd20582 Update translations 2019-05-30 11:32:18 -04:00
Guo Xiang Tan c13a7b6f61
FIX: Keep compatibility with older version of Discourse. 2019-05-14 16:39:59 +08:00
Guo Xiang Tan 5a459fbb6e Add frozen string literal comment to files. 2019-05-13 10:49:26 +08:00
Neil Lalonde dcb9e31b7d Update translations 2019-04-05 10:16:17 -04:00
David Taylor 722fe23b4e FEATURE: Add site setting to override user email address during login 2019-03-26 20:38:46 +00:00
David Taylor 4ccc4d1d5a FIX: Send the `Accept: application/json` header when fetching user JSON 2019-03-12 11:58:40 +00:00
David Taylor 46da0c9df4 DEV: Add travis configuration 2019-02-05 15:02:07 +00:00
David Taylor 090f63c429 FIX: Download avatar for new users
Previously avatars were only loaded on subsequent logins
2019-02-05 14:53:34 +00:00
Neil Lalonde f327bf7f32 Update translations 2019-01-31 16:44:30 -05:00
David Taylor 65339a2018
FIX: Add name key to translation file 2019-01-29 20:03:49 +00:00
Gerhard Schlager fd60811052 Inherit rubocop config from discourse repo 2018-12-03 00:37:17 +01:00
Neil Lalonde 4f675957da Update translations 2018-11-29 11:09:19 -05:00
David Taylor 9ad5050143 DEV: Apply rubocop 2018-10-22 20:13:46 +01:00
Neil Lalonde 9f48759517 Update translations 2018-09-10 14:02:44 -04:00
Vinoth Kannan 9fd171008b
README: How to test this plugin in local dev environment? 2018-09-05 02:25:48 +05:30
Neil Lalonde 79485fe6ac Update translations 2018-08-23 09:49:34 -04:00
Neil Lalonde 718ebbfbfe FIX: callback url on subfolder installs 2018-08-20 14:16:05 -04:00
David Taylor 3ce35cb7dd Add `enabled?` function to authenticator 2018-08-03 10:12:03 +01:00
David Taylor 34c34d462e
Merge pull request #14 from njs50/master
Add site setting to allow full screen login
2018-07-27 11:19:46 +01:00
Nick Shearer 0381f91bbe Add site setting to allow full screen login 2018-07-26 10:42:51 -05:00
Neil Lalonde b588b32bc9 Update translations 2018-05-31 15:32:02 -04:00
Blake Erickson 865e35342b Update README with instructions for running the tests 2018-05-25 15:52:35 -06:00
Blake Erickson 04ef6494de Add support for scope and add some missing translations
See this post on meta about the need for the ability to request a custom
scope:

https://meta.discourse.org/t/oauth2-basic-support/33879/116?u=blake
2018-05-25 15:35:52 -06:00
Blake Erickson f60a5799a1
Merge pull request #13 from misaka4e21/master
FEATURE: Support avatar retrieval.
2018-05-25 11:39:24 -06:00
misaka4e21 f603604caa
FEATURE: Support avatar retrieval. 2018-05-25 14:34:50 +08:00
Blake Erickson bce6e9e878 ADD: can now walk json that contains arrays
I feel like this is kind of a hack to handle a change with Auth0 where
the actual user id is inside of an array of identities. While I do think
it would be good to build an actual plugin for Auth0 to better handle
their use case I do feel that it is important that we can handle Auth0
with this plugin for now.
2018-05-16 14:53:10 -06:00
Robin Ward 6260d0e9b0 FIX: Default used to be POST 2018-04-25 13:22:06 -04:00
Neil Lalonde f8333961e4 Update translations 2018-04-24 10:32:46 -04:00
Robin Ward 7c80a9c818
Merge pull request #12 from davidmh/feature/add-token-and-user-request-methods
Add request methods for token and user_json urls
2018-04-23 13:20:56 -04:00
David Mejorado 6b5d7b4ef2 Remove unnecessary requires 2018-04-23 09:45:41 -07:00
David Mejorado 4d0be8081a Bump minor version 2018-04-20 19:33:53 -07:00
David Mejorado 287dcc15cc Add request methods for token and user_json urls
Defaults to `GET`.

Context:

https://meta.discourse.org/t/oauth2-basic-support/33879/66?u=davidmh
2018-04-20 15:58:24 -07:00
Neil Lalonde 71d3648c95 Update translations 2018-03-07 14:19:18 -05:00
Neil Lalonde 0de638523b Update translations 2018-01-31 11:14:54 -05:00
Neil Lalonde 41a5d0a32e Update translations 2017-12-29 16:41:40 -05:00
Neil Lalonde e4bbb81793 Transifex integration 2017-12-08 15:21:07 -05:00
Guo Xiang Tan ee5bca98f0 Merge pull request #10 from LeoMcA/master
FIX: make work with user_emails migration
2017-09-07 18:57:22 +08:00
Leo McArdle f0151cdea6 add spec 2017-09-06 23:15:10 +01:00
Leo McArdle 8fc2429496 FIX: make work with user_emails migration 2017-09-05 20:12:45 +01:00
Guo Xiang Tan be6b6ee9bb Fix rubocop offenses. 2017-08-02 15:05:31 +09:00
Robin Ward 4996165a84 SECURITY: Always validate `state` parameter 2017-05-17 15:24:43 -04:00
Robin Ward e2e999014f Add temporary parameter to ignore state with oauth2 basic 2017-05-08 10:53:46 -04:00
Arpit Jalan 4966993246 Merge pull request #9 from jomaxro/patch-1
Add URL to plugin.rb
2017-04-26 11:14:28 +05:30
jomaxro 1a60017cc0 Add URL to plugin.rb 2017-04-26 00:42:12 -04:00
Robin Ward 5959f5f1bb FIX: Don't add `code` and `state` since most servers dont' want it 2017-03-28 17:35:41 -04:00
Neil Lalonde 6cbeeffc73 after successful auth, add record to PluginStore if record doesn't already exist 2016-11-04 11:34:24 -04:00
Arpit Jalan 56e735b29b add License 2016-06-06 23:12:51 +05:30