diff options
author | IN COMMON Collective <collective@incommon.cc> | 2021-04-09 12:22:22 +0200 |
---|---|---|
committer | IN COMMON Collective <collective@incommon.cc> | 2021-04-09 12:27:54 +0200 |
commit | 3c6561243b5f1abfad3292347c51aa1914f63b48 (patch) | |
tree | c0350820acb3ae07d4750f5d8b4542d51c0eb4fb /public | |
parent | 02283fe4979ad055a20131166628a32b3c152897 (diff) | |
download | incommon-map-3c6561243b5f1abfad3292347c51aa1914f63b48.tar.gz |
[DEV] Make SSO return_url dependent on Rails environment (fixes #1)
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
Diffstat (limited to 'public')
0 files changed, 0 insertions, 0 deletions