mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-11 04:49:16 +00:00
fix: authorization can't be revoked
This commit is contained in:
@@ -126,7 +126,7 @@ class OidcService extends APIService {
|
||||
}
|
||||
|
||||
async revokeOwnAuthorizedClient(clientId: string) {
|
||||
await this.api.delete(`/oidc/users/me/clients/${clientId}`);
|
||||
await this.api.delete(`/oidc/users/me/authorized-clients/${clientId}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user