AzureAD B2C Session or Token expiration and alerts

juni dev 336 Reputation points
2022-09-13T17:24:38.157+00:00

Hi,

How can I notify user if session or token are about to expire?
Any out of the box procedure in msal or so? or do have to implement it may self to trigger that alert action 1 min before expiration or so?

Any advice & samples?

Thanks,
JD

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,663 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,664 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 22,086 Reputation points Microsoft Employee
    2022-09-13T23:37:49.973+00:00

    Hi @juni dev , unfortunately a built-in solution for this does not exist. We do have session expiry configuration here but no warning options. You could start a timer separately that notifies users depending on your session expiry settings though.

    I recommend submitting a feature request here. Please let me know if you have any questions!

    Best,
    James