Skip to content

Commit 1f7a65c

Browse files
committed
fix: change the tenant id parameter name from tenantId to tenant_id
# Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # interactive rebase in progress; onto 1c1cca8 # Last command done (1 command done): # pick ec37845 fix: change the tenant id parameter name from tenantId to tenant_id # No commands remaining. # You are currently rebasing branch 'fix/tenantid-parameter-name' on '1c1cca8'. # # Changes to be committed: # modified: src/AuthenticationClient.ts # modified: src/AuthenticationClientInterface.ts #
1 parent 1c1cca8 commit 1f7a65c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AuthenticationClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ export class AuthenticationClient {
715715
nonce,
716716
};
717717
if (options?.tenantId) {
718-
params.tenantId = options?.tenantId;
718+
params.tenant_id = options?.tenantId;
719719
}
720720
if (options?.forced) {
721721
params.prompt = "login";

src/AuthenticationClientInterface.ts

Lines changed: 1 addition & 1 deletion
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)