aboutsummaryrefslogtreecommitdiff
path: root/app/lib
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
|
* Add UUIDResolverhellekin2021-03-221-0/+55
| | | | | | | | | | | | | | | | | The UUIDResolver adds a route at `/by-uuid/:uuid` that enables applications to request information about a given UUID. The UUID must be a Random UUID (version 4, see RFC 4122). If an invalid UUID is given, the controller will return 422 Unprocessable Entity. If a valid UUID is given: - 404 indicates that the UUID is not assigned to anything known to the system. - 302 indicates that the UUID was assigned to a record, and the User-Agent will be redirected to that record's Location as indicated in the response header. - 200 indicates that the UUID was assigned to more than one record (which is unlikely) and will list those records.
* Ensure tagged version gives right repo URLv0.1.4hellekin2021-01-221-2/+2
|
* Fix this deployment...v0.1.3hellekin2021-01-221-0/+2
|
* Distinguish branch and tagv0.1.2hellekin2021-01-221-2/+4
|
* WIP: display versionv0.1.1hellekin2021-01-221-6/+4
|
* WIP: fix link to source codev0.1.0hellekin2021-01-221-3/+5
|
* Link to current source code version (per AGPL-3.0)hellekin2021-01-221-0/+10
|
* REUSE: Add AGPL-3.0-or-later to app/*hellekin2020-10-293-0/+14
|
* Configure Discourse SSOhellekin2020-10-052-1/+4
| | | | | | | | 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-052-0/+99