[openstreetmap/openstreetmap-website] Add openid connect support using doorkeeper-openid_connect gem (PR #4226)
Milan Cvetkovic
notifications at github.com
Mon Sep 4 14:03:33 UTC 2023
...as discussed in [Issue 507](https://github.com/openstreetmap/operations/issues/507) and described by @mmd-osm.
To activate, set the value of `doorkeeper_signing_key` to pem of the RSA private key.
Allows using openstreetmap as an identity provider.
Adds `openid` scope to OAuth2 authorizations, required to login to OSM.
Currently, the only claims returned are `sub` and `preferred_username`.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4226
-- Commit Summary --
* Add unconfigured doorkeeper-openid_connect
* Add openid connect support using doorkeeper-openid_connect gem
-- File Changes --
M Gemfile (1)
M Gemfile.lock (4)
M app/views/oauth2_authorizations/new.html.erb (2)
A config/initializers/doorkeeper_openid_connect.rb (76)
A config/locales/doorkeeper_openid_connect.en.yml (23)
M config/locales/en.yml (1)
M config/routes.rb (1)
M config/settings.yml (4)
A db/migrate/20230830115219_create_doorkeeper_openid_connect_tables.rb (15)
A db/migrate/20230830115220_validate_create_doorkeeper_openid_connect_tables.rb (5)
A db/migrate/20230830115221_add_openid_scope.rb (11)
M db/structure.sql (76)
M lib/oauth.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4226.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4226.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4226
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4226 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230904/67ebd4cd/attachment.htm>
More information about the rails-dev
mailing list