Commit Graph

8 Commits

Author SHA1 Message Date
Loïc Guitaut d3725f4646 DEV: Fix new Rubocop offenses 2024-05-24 16:48:30 +02:00
Natalie Tay 2b6397b6cb
DEV: Case insensitive check on email_verified field (#70) 2023-12-01 01:19:11 +08:00
David Taylor 030f82f880
DEV: Introduce syntax_tree for ruby formatting (#51) 2022-12-29 13:33:26 +01:00
David Taylor 07c57fd31a
FEATURE: Allow match_by_email to be configured by a site setting (#46)
The default behavior is unchanged
2022-11-07 12:06:40 +00:00
Jarek Radosz e897702139
DEV: General cleanup (#34) 2022-04-06 12:19:39 +02:00
David Taylor 85abe67701
FIX: Gracefully handle errors while fetching the discovery document (#4)
Previously an error loading the discovery document would raise an exception. Now, it will display an error to the user, and log the error for site admins to view at `/logs`. Specs are updated and improved accordingly.

This moves the discovery document fetching out of OmniAuth and into Discourse. This makes it available for the upcoming rp-initiated-logout support.
2020-11-11 18:46:11 +00:00
David Taylor 9ada9528e8
FIX: Accept strings for the email_verified token
This is technically a spec violation, but many providers do this so we should check for the string 'true'
2020-07-10 16:49:32 +01:00
David Taylor 67a5595e98 FEATURE: Respect the email_verified boolean when supplied by IDP 2020-01-08 13:54:37 +00:00