ISinglePublicClientApplication#signInAgain() allowing different users
See original GitHub issueHi 👋!
Sorry, just a quick and easy question, should the ISinglePublicClientApplication#signInAgain()
function allow signing in with a different user than the one that’s currently using?
Because of a product requirement, I need to re-authenticate the current user at X amount of time, one of the options for doing this is using the MSAL credentials. Now, something that I don’t want to happen is that the user signs in with a different user, I thought that because the ISinglePublicClientApplication
instance is for single accounts, re-authenticating the user through the signInAgain()
function would trigger some sort of exception if I try to sign in with a different user?
Is this the correct behavior? Is there any way to prevent the user from authenticating using a different account?
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
@iambmelt Awesomeee! 🎉 Thanks a lot! I’ll try that 💪 and let you know if I find anything else, but I’m sure that’ll do the trick! Thanks again! 🙇
@4gus71n Great! I’ll keep an eye out for this thread in case you run into any issues.
And thanks for using MSAL, we’re happy to have you!