Skip to content

How to pass requested ACR values? #350

Answered by maennchen
mworrell asked this question in Q&A
Discussion options

You must be logged in to vote

Currently the following request parameters are set automatically:

  • response_type
  • response_mode
  • scope
  • redirect_uri
  • client_id
  • state
  • nonce
  • purpose
  • PKCE related
  • PAR related
  • DPoP related
  • Request Object related

All other parameters like prompt, acr_values or custom provider parameters can be set using the url_extension option.

{ok, Url} = oidcc_authorization:create_redirect_url(ClientContext, #{
  redirect_uri => RedirectUri,
  client_id => ClientId,
  url_extension => [{<<"acr_values">>, <<"acr:value">>}]
})

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mworrell
Comment options

@mworrell
Comment options

@mworrell
Comment options

@maennchen
Comment options

@maennchen
Comment options

Answer selected by maennchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants