Neil Lalonde
0bf0cd46d3
Update translations
2020-01-20 11:22:14 -05:00
Neil Lalonde
8a36ac21c9
Update translations
2019-12-19 12:51:15 -05:00
Penar Musaraj
b00dce0684
Rubocop redundant return fix
2019-11-14 15:08:57 -05:00
Neil Lalonde
0206827e30
Update translations
2019-11-06 10:47:00 -05:00
David Taylor
8d9945040c
UX: Update copy for email_verified_path setting
2019-11-06 13:08:27 +00:00
Neil Lalonde
2079d46a4a
Update translations
2019-10-10 11:26:23 -04:00
David Taylor
550d0bdee1
FIX: Ignore non-numeric values when migrating from old data format
...
This fixes 'invalid input syntax for integer' errors when the old data is invalid
2019-08-07 16:09:42 +01:00
Penar Musaraj
e49eb3bd9f
Make Rubocop happy
2019-07-29 21:32:27 -04:00
David Taylor
ce839a5d5c
FIX: Ignore duplicate user_ids when migrating old data
...
The old storage mechanism had no unique index on the user_id, so it is possible to have bad data. In this case, take the first value, and ignore the rest.
2019-07-27 16:50:54 +01:00
Angus McLeod
5ae9f35e81
FEATURE: Migrate to ManagedAuthenticator ( #21 )
...
This brings the plugin in-line with recent core improvements. Advantages include
- Account-linking logic and storage is shared between all authentication providers
- Optionally, users can be allowed to disconnect/reconnect their accounts
- The 'last used' date of an association is recorded
- Association metadata is recorded in the database for use in data explorer and other plugins
Data migration will be performed automatically, and all existing functionality is maintained.
2019-07-27 16:34:17 +01:00
Neil Lalonde
4c833e83c5
Update translations
2019-07-15 14:02:20 -04:00
Angus McLeod
eb31cdf44f
Handle fetch user details failure ( #20 )
...
* handle failure in get_user_details request
* add spec
* improve spec
* return nil on failure
2019-07-11 10:31:51 -04:00
Yaron Shahrabani
c543110334
Typo fixed ( #19 )
...
verfied -> verified.
2019-07-07 10:05:42 -04:00
Angus McLeod
a634ff896d
Use token callback user details ( #18 )
...
* Add way to use user details returned in token response
* Add spec
* Apply suggestions from code review
Co-Authored-By: Robin Ward <robin.ward@gmail.com>
2019-07-05 10:27:07 -04:00
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