... 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 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: - "openid" scope: "sub" and "preferred_username" - "read_email" scope: "email"
7 lines
294 B
Text
7 lines
294 B
Text
<%= f.text_field :name %>
|
|
<%= f.text_area :redirect_uri %>
|
|
<%= f.form_group :confidential do %>
|
|
<%= f.check_box :confidential %>
|
|
<% end %>
|
|
<%= f.collection_check_boxes :scopes, Oauth.scopes(:oauth2 => true, :privileged => current_user.administrator?), :name, :description %>
|
|
<%= f.primary %>
|