Merge branch 'anderson/fix-revoke-error' of https://github.com/philips-forks/oauth2-proxy into anderson/fix-revoke-error
This commit is contained in:
commit
ce5990487c
|
|
@ -53,7 +53,7 @@ func PicsRevokeAccessToken(backendRevokeURL string, accessToken string, clientID
|
|||
}
|
||||
|
||||
if resp.StatusCode() != 200 {
|
||||
return fmt.Errorf("error revoking access token: %v", resp.Error())
|
||||
return fmt.Errorf("error revoking access token: status code %d, error: %v", resp.StatusCode(), resp.Error())
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue