AppAuth-Android icon indicating copy to clipboard operation
AppAuth-Android copied to clipboard

Support "acr_values" OpenID Connect auth request parameter

Open iainmcgin opened this issue 8 years ago • 4 comments

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. The acr Claim is requested as a Voluntary Claim by this parameter.

iainmcgin avatar Mar 07 '16 01:03 iainmcgin

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.

michaeltnguyen avatar Aug 11 '20 14:08 michaeltnguyen

Yes

SreyOn-CPU avatar Aug 14 '20 18:08 SreyOn-CPU

Good

SreyOn-CPU avatar Aug 16 '20 14:08 SreyOn-CPU