hydra icon indicating copy to clipboard operation
hydra copied to clipboard

Support `default_acr_values`

Open apexskier opened this issue 2 years ago • 0 comments

Preflight checklist

Describe your problem

One of the OIDC specification's client metadata values is default_acr_values. I'd like to use these to configure required ACR (e.g. is MFA required) at the client registration level, so we can avoid depending on hardcoded rules or client-supplied requests (which could be spoofed).

I'm currently able to register a client with default_acr_values, but do not have access to this value in the client.OAuth2Client type (and I haven't seen a way to access it anywhere else).

Describe your ideal solution

I'd like the client.OAuth2Client type to contain default_acr_values supplied in a client registration.

Workarounds or alternatives

I can not rely on the OIDC spec, and instead just hardcode this per client or use an alternate configuration mechanism.

Version

v1.11.8

Additional Context

I'm pretty sure implementation would involve adding the field to the oidc client type and api client type, then plumbing the data to and from the DB layer.

apexskier avatar Jul 27 '22 14:07 apexskier