Commit Graph

35 Commits

Author SHA1 Message Date
David Taylor 20c835ea06
DEV: Remove deprecated full screen login parameter 2020-05-12 12:13:38 +01:00
David Taylor 2ef80870d3
FIX: Do not include token scope parameter when setting is empty 2020-04-01 17:50:23 +01:00
David Taylor 84c21a572c FEATURE: Optionally allow overriding email on every login 2020-03-06 11:51:41 +00:00
David Taylor 9ad63a3fc7 FEATURE: Allow parameters to be passed from /auth/oidc to the IDP
The most common use case is when you want the IDP to start with a specific screen (e.g. signup, rather than sign in). This change has no effect by default, you must add the parameter names to the openid_connect_authorize_parameters site setting.
2020-01-08 14:15:32 +00:00
David Taylor 67a5595e98 FEATURE: Respect the email_verified boolean when supplied by IDP 2020-01-08 13:54:37 +00:00
David Taylor 3e83fa9c50 DEV: Refactor authenticator into its own file 2020-01-08 13:52:24 +00:00
Guo Xiang Tan 1f08770d1a Add frozen string literal comment to files. 2019-05-13 10:51:32 +08:00
David Taylor 94bba5f710 FEATURE: Option to enable verbose logging of authentication process 2019-01-04 15:08:35 +00:00
David Taylor d394c12078 FEATURE: Support latest version of `ruby-jwt` to support core changes
This change is not backwards compatible. If you install the plugin on
an earlier version of Discourse, the plugin will not initialize.
2019-01-02 10:42:28 +00:00
David Taylor 88fdf7b5ab DEV: Update README 2018-12-06 16:14:28 +00:00
David Taylor 84085413d5 REFACTOR: user_associated_account and managed_authenticator moved to core 2018-11-30 11:20:28 +00:00
David Taylor 250bf84faa DEV: Improve specs for managed authenticator 2018-11-27 17:05:00 +00:00
David Taylor a41be68dfe DEV: Initial specs for managed authenticator 2018-11-26 18:03:23 +00:00
David Taylor 79d377cb12 DEV: Use mocha instead of rspec-mocks for omniauth spec 2018-11-26 18:03:08 +00:00
David Taylor f44a2cd7bb DEV: Refactor managed_authenticator into its own file 2018-11-26 14:54:20 +00:00
David Taylor b3124f90d2 DEV: Spec for error redirect handler 2018-11-26 12:04:01 +00:00
David Taylor adcc85dde3 FEATURE: Add enabled setting, and some refactoring 2018-11-22 14:49:49 +00:00
David Taylor 8558d65e67 DEV: Additional tests, and improved JWT error handling 2018-11-22 12:44:38 +00:00
David Taylor ba3685f2ef DEV: Test token_params 2018-11-22 11:24:31 +00:00
David Taylor 17f12b05ce DEV: Specs for authorize_params 2018-11-21 16:57:03 +00:00
David Taylor a74bd6c27a FIX: Discovery error handling in request phase 2018-11-21 16:56:46 +00:00
David Taylor d8f2ceb65a DEV: Add stylesheet placeholder 2018-11-21 15:48:20 +00:00
David Taylor 78a792b5b6 FIX: Improved 'discovery' error handling, with tests 2018-11-21 15:28:01 +00:00
David Taylor 0008d9bc6f FIX: Correct order of operations in `if` statement 2018-11-20 14:19:26 +00:00
David Taylor 6d2ac4a69a FIX: Correct copy for site setting 2018-11-19 12:52:25 +00:00
David Taylor 91774686e7 FEATURE: Maintain `p` parameter between authorization and token request 2018-11-19 12:51:47 +00:00
David Taylor 923df4d39d FIX: Use correct parameter for error description 2018-11-16 18:19:01 +00:00
David Taylor e9c86e6822 FEATURE: Optionally redirect on defined errors, and add site setting descriptions 2018-11-16 17:55:10 +00:00
David Taylor 37753dd377 FEATURE: Pass on policy parameter
Used for Azure B2C tenants
2018-11-15 17:31:43 +00:00
David Taylor 473e152b68 DEV: Add model annotation 2018-11-15 17:31:14 +00:00
David Taylor c4335cc513 FIX: Do not cause server error if OAuth2 callback phase fails 2018-11-15 17:31:03 +00:00
David Taylor 1c56447c91 UX: Change callback URL to be shorter 2018-11-15 17:29:21 +00:00
David Taylor 5ce9aeb174 FEATURE: Match accounts using email by default 2018-11-09 13:13:26 +00:00
David Taylor 4425b8ae67 FEATURE: OpenID Connect support 2018-11-09 12:49:51 +00:00
David Taylor f49bd357ef Initial commit 2018-11-09 12:49:36 +00:00