trilbymedia / grav-plugin-login-oauth2-extras

Extra providers for Login OAuth2 Plugin
MIT License
7 stars 6 forks source link

Azure AD tokens not getting refreshed after expiring #9

Open vdemcak opened 1 year ago

vdemcak commented 1 year ago

While using the plugin, I've noticed that once the tokens that this plugin fetches from the AzureAD OAuth endpoint and stores in the users .yaml expire, they will not get refreshed(this is especially annoying when sending the tokens back to the client in the form of cookies, so the client can fetch external APIs)

This results in the end-user needing to log out and log back in in order to manually refresh the tokens. Is this the intended behavior?