fix: use correct param name for token_type_hint

This commit is contained in:
Hugh Nimmo-Smith 2022-08-22 10:46:28 +01:00
parent aacb4342c5
commit 9bf26dadae

View File

@ -314,7 +314,7 @@ export class OidcApi<N extends object = SegmentType> {
}
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();