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();