Skip to content

Make acr's configurable #722

@phavekes

Description

@phavekes

Currently the eduID only ACR values are hardcoded.

EduIDLinkedInstitution("https://eduid.nl/trust/linked-institution"),
EduIDValidatedName("https://eduid.nl/trust/validate-names"),
ValidateNamesExternal("https://eduid.nl/trust/validate-names-external"),
EduIDRequireStudentAffiliation("https://eduid.nl/trust/affiliation-student"),
TransparentAuthnContext("transparent_authn_context");

These should live in config, e.g.:

config:
  acr-requirements:
    - acr : "https://eduid.nl/trust/linked-institution"
      description: "Require linked institution"
    - acr: "https://eduid.nl/trust/validate-names"
      description: "Require a validated name" 

If the list is empty of missing, do not show the acr option in the ui.

  • Add generic options to config in codebase
  • Add to openconext-deploy @phavekes
  • Update code to use values from config
  • Hide option from ui if unconfigured

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions