Skip to content

Commit ec37845

Browse files
committed
fix: change the tenant id parameter name from tenantId to tenant_id
1 parent 728f59b commit ec37845

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/AuthenticationClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ export class AuthenticationClient {
694694
nonce,
695695
};
696696
if(options?.tenantId) {
697-
params.tenantId = options?.tenantId
697+
params.tenant_id = options?.tenantId
698698
}
699699
if (options?.forced) {
700700
params.prompt = "login";

Diff for: src/AuthenticationClientInterface.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface AuthURLParams {
1313
nonce: string;
1414
scope: string;
1515
prompt?: string;
16-
tenantId?: string;
16+
tenant_id?: string;
1717
}
1818

1919
export interface OIDCTokenResponse {

0 commit comments

Comments
 (0)