feat(okta): add prompt requirement to authorize redirect

This commit is contained in:
William R. Arellano 2023-04-28 14:21:14 -05:00
parent b4deb2e1e5
commit 25f9960b40

View File

@ -89,7 +89,7 @@ oauth2OktaWithScopes scopes host authorizationServer appRoot clientId clientSecr
oauth2AuthorizeEndpoint = oauth2AuthorizeEndpoint =
host host
`withPath` (mkEndpointSegment authorizationServer "authorize") `withPath` (mkEndpointSegment authorizationServer "authorize")
`withQuery` [scopeParam " " scopes], `withQuery` [scopeParam " " scopes, ("prompt", "login")],
oauth2TokenEndpoint = host `withPath` (mkEndpointSegment authorizationServer "token"), oauth2TokenEndpoint = host `withPath` (mkEndpointSegment authorizationServer "token"),
oauth2RedirectUri = Nothing, oauth2RedirectUri = Nothing,
oauth2AppRoot = appRoot oauth2AppRoot = appRoot