mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-31 01:47:33 +02:00
authenticate: add aws cognito (#4137)
This commit is contained in:
parent
e245107d24
commit
2db2d66eba
3 changed files with 65 additions and 1 deletions
|
@ -271,7 +271,7 @@ func (a *Authenticate) signOutRedirect(w http.ResponseWriter, r *http.Request) e
|
|||
|
||||
endSessionURL, err := authenticator.LogOut()
|
||||
if err == nil && redirectString != "" {
|
||||
params := url.Values{}
|
||||
params := endSessionURL.Query()
|
||||
params.Add("id_token_hint", rawIDToken)
|
||||
params.Add("post_logout_redirect_uri", redirectString)
|
||||
endSessionURL.RawQuery = params.Encode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue