From 9bf26dadaef0d93cc189c1667fadde5e9757b9b8 Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Mon, 22 Aug 2022 10:46:28 +0100 Subject: [PATCH] fix: use correct param name for token_type_hint --- src/matrix/net/OidcApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/net/OidcApi.ts b/src/matrix/net/OidcApi.ts index e5c1838a..c9fc9134 100644 --- a/src/matrix/net/OidcApi.ts +++ b/src/matrix/net/OidcApi.ts @@ -314,7 +314,7 @@ export class OidcApi { } const params = new URLSearchParams(); - params.append("token_type", type); + params.append("token_type_hint", type); params.append("token", token); params.append("client_id", await this.clientId()); const body = params.toString();