undo that last change, but noice error returns from EndSession

This commit is contained in:
David Sharnoff 2022-10-27 18:55:20 -07:00
parent a689c468ff
commit 5584414f53
2 changed files with 11 additions and 9 deletions

View file

@ -575,8 +575,6 @@ func RefreshAccessToken(rp RelyingParty, refreshToken, clientAssertion, clientAs
return client.CallTokenEndpoint(request, tokenEndpointCaller{RelyingParty: rp})
}
// EndSession terminates a session. The server may respond with
// a redirect, or it may not. If not, the returned URL will be nil.
func EndSession(rp RelyingParty, idToken, optionalRedirectURI, optionalState string) (*url.URL, error) {
request := oidc.EndSessionRequest{
IdTokenHint: idToken,