1
0
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:
Elias Schneider
2025-08-23 17:28:27 +02:00
parent 182d809028
commit 0aab3f3c7a
3 changed files with 22 additions and 15 deletions

View File

@@ -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}`);
}
}