Skip to content

Commit ab103f7

Browse files
committed
fix: add token_type and client_id to the revoke endpoint
1 parent 9a88b1d commit ab103f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/state/KindeProvider.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ export const KindeProvider = ({
246246
method: "POST",
247247
body: JSON.stringify({
248248
token: refreshToken,
249+
client_id: clientId,
250+
token_type: "refresh_token",
249251
}),
250252
headers: {
251253
"Content-Type": "application/json",
@@ -258,6 +260,8 @@ export const KindeProvider = ({
258260
method: "POST",
259261
body: JSON.stringify({
260262
token: accessToken,
263+
client_id: clientId,
264+
token_type: "access_token",
261265
}),
262266
headers: {
263267
"Content-Type": "application/json",

0 commit comments

Comments
 (0)