aboutsummaryrefslogtreecommitdiff
path: root/app/lib/sso
Commit message (Collapse)AuthorAgeFilesLines
* [DEV] Make SSO return_url dependent on Rails environment (fixes #1)IN COMMON Collective2021-04-091-5/+8
| | | | | | | | | | | | | | | | Previously the return_url was hardcoded for all environments. It would create an issue where authentication outside of development would redirect to the wrong site. With the previous commit we introduced a staging environment and an environment-specific configuration file allowing to hardcode return_url for each environment. This commit fixes the proper capture of the SSO secret in the current configuration and introduces an SSO::MissingSecretError class that is raised when there's no configured secret. https://gitlab.com/incommon.cc/incommon-map/-/issues/1
* [DEV] WIP: explore sso login alternativeIN COMMON Collective2021-03-261-2/+12
|
* REUSE: Add AGPL-3.0-or-later to app/*hellekin2020-10-291-0/+4
|
* Configure Discourse SSOhellekin2020-10-051-1/+2
| | | | | | | | We're creating a minimal User model that will be filled from SSO. We also configure Inflections so we can use SSO instead of Sso which looks weird for a module named after an acronym. Use Discourse as SSO: https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974
* Add Discourse SSO codehellekin2020-10-051-0/+92