You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgive me if this is not the best place to ask, but I am completely stumped here.
I am using this module for authentication with Azure Active Directory via Oauth2.
After the user logs in, I need to use the access token to access the Microsoft Graph API to retrieve a list of groups the user is part of. This list of groups needs to be reliably available in a middleware function, as well as in pages themselves.
What is the best way to go about this? I have tried a few methods, but it seems as though the list gets wiped or just not loaded in soon enough, especially on a hard page reload.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Forgive me if this is not the best place to ask, but I am completely stumped here.
I am using this module for authentication with Azure Active Directory via Oauth2.
After the user logs in, I need to use the access token to access the Microsoft Graph API to retrieve a list of groups the user is part of. This list of groups needs to be reliably available in a middleware function, as well as in pages themselves.
What is the best way to go about this? I have tried a few methods, but it seems as though the list gets wiped or just not loaded in soon enough, especially on a hard page reload.
TIA for any assistance :)
Beta Was this translation helpful? Give feedback.
All reactions