Repository navigation
|
Hello, This regards to the new feature of maximum authentication age ( We are expecting the user to be forced to re-authenticate if they haven't done that after Although, if we set The expiration claim should be defined always by our azure application and not by our msal flow, we should only be able to control re-auth and not token expiry date. msal version = 1.16.0 |
Replies: 6 comments
|
Welcome back, raqsilva ! Unfortunately, what you discovered is an existing behavior in the Microsoft Identity Platform. MSAL as a client-side library does not have a way to change that. Do you have another channel to contact a Microsoft representative? (CC: Hirsch Singhal (@hpsin)) Meanwhile, this workaround might work. You may try to use |
|
Thanks! Sadly for our use case that might not work. |
Like I said in my previous message, that change will not be in this library.
How so? What kind of app are you building? Each of our sample for the supported scenario includes the We would like to know more about your app and see how we can help. |
|
I understand how it seems odd, but that was a way for us to force re-auth when the user has logged out of our app. We do not have accounts or cache anymore in that stage, that is why we need to get a new one by Out of curiosity, where are the code samples that use |
There is no official sample for
It is not odd for an app to sign out user. But that shouldn't prevent you from utilizing token cache. My hypothesis meant to say:
|
|
I see what you mean now. So in your example a |
There is no official sample for
max_age. It is just an optional parameter that can be added into any existing sample which uses eitherinitiate_auth_code_flow()(i.e. web app) oracquire_token_interactive()(i.e. desktop app).It is not odd for an app to sign out user. But that shouldn't prevent you from utilizing token …