mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
fix: use correct param name for token_type_hint
This commit is contained in:
parent
aacb4342c5
commit
9bf26dadae
@ -314,7 +314,7 @@ export class OidcApi<N extends object = SegmentType> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const params = new URLSearchParams();
|
const params = new URLSearchParams();
|
||||||
params.append("token_type", type);
|
params.append("token_type_hint", type);
|
||||||
params.append("token", token);
|
params.append("token", token);
|
||||||
params.append("client_id", await this.clientId());
|
params.append("client_id", await this.clientId());
|
||||||
const body = params.toString();
|
const body = params.toString();
|
||||||
|
Loading…
Reference in New Issue
Block a user