Skip to content

Commit

Permalink
fix revoke token call
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Theel committed Apr 13, 2023
1 parent aeb6613 commit 89f3dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4150,7 +4150,7 @@ func (g *GoCloak) DeleteClientScopesScopeMappingsClientRoles(ctx context.Context
func (g *GoCloak) RevokeToken(ctx context.Context, realm, clientID, clientSecret, refreshToken string) error {
const errMessage = "could not revoke token"

resp, err := g.getRequestWithBasicAuth(ctx, clientID, clientSecret).
resp, err := g.GetRequestWithBasicAuth(ctx, clientID, clientSecret).
SetFormData(map[string]string{
"client_id": clientID,
"client_secret": clientSecret,
Expand Down

0 comments on commit 89f3dc3

Please sign in to comment.