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
I have a user logged in with MSAL using ADB2C and Google OAuth as the identity provider. I want the user to be able to query a Microsoft Personal Account to get the tasks.read.all scope using a React App so that they can see their Microsoft Account Tasks.
The idea being that inside the TaskList component I can use the useMsal hook to get the msa instance to request tasks.read.all and get back a token but just for that component. Any parent components (like the menu for example) would use the higher level adb2c public client instance.
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
-
I have a user logged in with MSAL using ADB2C and Google OAuth as the identity provider. I want the user to be able to query a Microsoft Personal Account to get the tasks.read.all scope using a React App so that they can see their Microsoft Account Tasks.
Then later on in a nest component
The idea being that inside the TaskList component I can use the useMsal hook to get the msa instance to request tasks.read.all and get back a token but just for that component. Any parent components (like the menu for example) would use the higher level adb2c public client instance.
Or - is there a better way to do this using msal?
Beta Was this translation helpful? Give feedback.
All reactions