mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
feat(okta): add prompt requirement to authorize redirect
This commit is contained in:
parent
b4deb2e1e5
commit
25f9960b40
@ -89,7 +89,7 @@ oauth2OktaWithScopes scopes host authorizationServer appRoot clientId clientSecr
|
||||
oauth2AuthorizeEndpoint =
|
||||
host
|
||||
`withPath` (mkEndpointSegment authorizationServer "authorize")
|
||||
`withQuery` [scopeParam " " scopes],
|
||||
`withQuery` [scopeParam " " scopes, ("prompt", "login")],
|
||||
oauth2TokenEndpoint = host `withPath` (mkEndpointSegment authorizationServer "token"),
|
||||
oauth2RedirectUri = Nothing,
|
||||
oauth2AppRoot = appRoot
|
||||
|
||||
Loading…
Reference in New Issue
Block a user