You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're in the process of rebuilding profile into a Rails app and are making an attempt to better align with OIDC standards. We currently misuse scopes to restrict whether unverified or supervised (u13) accounts can log in to a given app. Scopes should, however, only deal with authorisation and not authentication. acr_values instead should be provided for this purpose.
What we need to do
Update openid_connect_options in lib/rpi_auth/engine.rb to include acr_values from RpiAuth.configuration
Update docs to include information on how to require that a user is verified, can login a supervised account and has parental consent
Important
Why are we doing this?
We're in the process of rebuilding profile into a Rails app and are making an attempt to better align with OIDC standards. We currently misuse scopes to restrict whether unverified or supervised (u13) accounts can log in to a given app. Scopes should, however, only deal with authorisation and not authentication.
acr_valuesinstead should be provided for this purpose.What we need to do
openid_connect_optionsinlib/rpi_auth/engine.rbto includeacr_valuesfromRpiAuth.configurationAcceptance criteria
Scenario: …
References
acr_valuesrequest parameteracrclaim (ID Token)Notes
Open questions
acr_valuesthrough a setup lambda? (like suggested in Add support for OIDC-compliant param to trigger signup flow #98