Merge branch 'anderson/fix-revoke-error' of https://github.com/philips-forks/oauth2-proxy into anderson/fix-revoke-error

This commit is contained in:
Anderson Valério 2025-06-02 14:58:53 -03:00
commit ce5990487c
No known key found for this signature in database
GPG Key ID: 92D38E56BFF005A0
1 changed files with 1 additions and 1 deletions

View File

@ -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