Replies: 1 comment 2 replies
-
You can force login by setting var request = {
scopes: ["user.read"],
prompt: "login"
};
let loginResponse = await client.loginPopup(request); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
using msal.js version 1.3.4
seems like once a user login with username/password and the accessToken is successfully extracted
the session/ token is never expired and user able to login again without reentering his username/password
is there a way to control it in the client side?
although i do see that the token is expired (session Storage browser => expiresIn
but it doesn't reflected when login (i think that this "expiresIn" may related to the refresh token time, so it is not what I looking for )
anyhow the best if to have an option to automatically logout a user after a certain time
is it possible?
see my snippets code
Beta Was this translation helpful? Give feedback.
All reactions