AppAuth-Android
AppAuth-Android copied to clipboard
Support "acr_values" OpenID Connect auth request parameter
OpenID Connect Core 1.0, Section 3.1.2.1, acr_values
parameter:
OPTIONAL. Requested Authentication Context Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication Context Class satisfied by the authentication performed is returned as the
acr
Claim Value, as specified in Section 2. Theacr
Claim is requested as a Voluntary Claim by this parameter.
For anyone who needs this, you can simply use
AuthorizationRequest.Builder().setAdditionalParameters(Map<string, string>)
with, for example, Collections.singletonMap("acr_values", "your_values_here")
, and it will be sent as a query parameter.
Yes
Good