Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you add a function setConfiguration in IPublicClientApplication #7305

Open
zkjxx1548 opened this issue Sep 11, 2024 · 1 comment
Open
Labels
feature-unconfirmed msal@1.x Related to msal@1.x (implicit flow) msal-react Related to @azure/msal-react Needs: Author Feedback Awaiting response from issue author public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.

Comments

@zkjxx1548
Copy link

Core Library

MSAL.js v1 (@azure/msal or msal)

Wrapper Library

MSAL React (@azure/msal-react)

Public or Confidential Client?

Public

Description

I want to use different auth config(PublicClientApplication) when clicking different buttons in my login page, but i only find getConfiguration function in IPublicClientApplication. What should i do?

"@azure/msal-react": "^1.0.0"

Source

External (Customer)

@zkjxx1548 zkjxx1548 added feature-unconfirmed question Customer is asking for a clarification, use case or information. labels Sep 11, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Sep 11, 2024
@github-actions github-actions bot added msal-react Related to @azure/msal-react msal@1.x Related to msal@1.x (implicit flow) public-client Issues regarding PublicClientApplications labels Sep 11, 2024
@sameerag
Copy link
Member

I do not clearly understand the question, @zkjxx1548. Can you please list what your expectation is? FWIW, msal maintains one configuration per instance and you cannot switch between configurations unless you maintain multiple PublicClientApplication instances.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Author Feedback Awaiting response from issue author and removed Needs: Attention 👋 Awaiting response from the MSAL.js team labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-unconfirmed msal@1.x Related to msal@1.x (implicit flow) msal-react Related to @azure/msal-react Needs: Author Feedback Awaiting response from issue author public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.
Projects
None yet
Development

No branches or pull requests

2 participants