dto-btn / ssc-assistant

Second iteration of the SSC chatbot/assistant
MIT License
0 stars 0 forks source link

auto refresh of session token to avoid idle session expiry #111

Closed GuillaumeTurcotte closed 1 month ago

GuillaumeTurcotte commented 1 month ago

documentation

https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/token-lifetimes.md

GuillaumeTurcotte commented 1 month ago

https://learn.microsoft.com/en-ca/entra/identity-platform/configurable-token-lifetimes#access-id-and-saml2-token-lifetime-policy-properties

Default's 1 hour (or close to) that for id token.

Will add temp code to force a refresh