Skip to content

Allow acr_values to be configured #99

Description

@DanielBrierton

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_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
  • Bump minor version as this is a non-breaking change
  • Write tests
  • Release new version
  • Communicate change to teams

Acceptance criteria

Feature: …
As a …
I want to …
So that ….

Scenario: …

Given I provide acr_values to rpi_auth
When I log in using it
Then the acr_values are passed to the OIDC provider

References

Notes

Open questions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions