Skip to content

Commit

Permalink
fix: delete auth state cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
ddlees committed Nov 7, 2024
1 parent 409f4dc commit 9caec51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/api/src/api/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ func (s authenticator) CreateSSOSession(request *http.Request, response http.Res
auditLogFields["oidc_provider_id"] = ssoProvider.OIDCProvider.ID
authProvider = *ssoProvider.OIDCProvider
}
DeleteBrowserCookie(request, response, AuthPKCECookieName)
DeleteBrowserCookie(request, response, AuthPKCECookieName)
DeleteBrowserCookie(request, response, AuthStateCookieName)
DeleteBrowserCookie(request, response, AuthPKCECookieName)
}

// Generate commit ID for audit logging
Expand Down

0 comments on commit 9caec51

Please sign in to comment.