I am using @azure/msal-angular. Using loginRedirect() to redirect to microsoft login page and i am getting the response with access_token and group IDs. But i need group details to implement access control in my application. Is there any extra config setting required to get the group details.
my config:
MsalModule.forRoot({
clientID: <clientId>,
authority: `https://login.microsoftonline.com/<tenantId>`,
redirectUri: "http://localhost:4200/",
cacheLocation: "localStorage",
popUp: !isIE,
consentScopes: ["user.read", "api://<clientID>/GFS_EClaims_UI"],
storeAuthStateInCookie: false,
postLogoutRedirectUri: "http://localhost:4200/",
protectedResourceMap: protectedResourceMap
})
or To get the group details, do i need to make a call to the Microsoft graph api after loginRedirect()?
Thanks in advance!