Skip to content

Commit

Permalink
making sure it is in sync with servlet page
Browse files Browse the repository at this point in the history
  • Loading branch information
kcsurapaneni authored and sjohnr committed Mar 29, 2024
1 parent 33d45f1 commit 89175df
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ For example, OpenID Connect defines additional OAuth 2.0 request parameters for
One of those extended parameters is the `prompt` parameter.

[NOTE]
OPTIONAL. Space delimited, case sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for reauthentication and consent. The defined values are: none, login, consent, select_account
====
The `prompt` parameter is optional. Space delimited, case sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for re-authentication and consent. The defined values are: `none`, `login`, `consent`, and `select_account`.
====

The following example shows how to configure the `DefaultServerOAuth2AuthorizationRequestResolver` with a `Consumer<OAuth2AuthorizationRequest.Builder>` that customizes the Authorization Request for `oauth2Login()`, by including the request parameter `prompt=consent`.

Expand Down

0 comments on commit 89175df

Please sign in to comment.