Skip to content

Commit

Permalink
rename property
Browse files Browse the repository at this point in the history
  • Loading branch information
derisen committed Feb 6, 2023
1 parent ddc6cfa commit 25999c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/msal-node/src/client/PublicClientApplication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class PublicClientApplication extends ClientApplication implements IPubli
*/
async acquireTokenInteractive(request: InteractiveRequest): Promise<AuthenticationResult> {
const { verifier, challenge } = await this.cryptoProvider.generatePkceCodes();
const { openBrowser, successTemplate, errorTemplate, customLoopbackClient, ...remainingProperties } = request;
const { openBrowser, successTemplate, errorTemplate, loopbackClient: customLoopbackClient, ...remainingProperties } = request;

const loopbackClient: ILoopbackClient = customLoopbackClient || new LoopbackClient();

Expand Down
2 changes: 1 addition & 1 deletion lib/msal-node/test/client/PublicClientApplication.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ describe('PublicClientApplication', () => {
const request: InteractiveRequest = {
scopes: TEST_CONSTANTS.DEFAULT_GRAPH_SCOPE,
openBrowser: openBrowser,
customLoopbackClient: customLoopbackClient,
loopbackClient: customLoopbackClient,
};

const MockAuthorizationCodeClient = getMsalCommonAutoMock().AuthorizationCodeClient;
Expand Down

0 comments on commit 25999c2

Please sign in to comment.