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
{{ message }}
Repository navigation
[BUG] Tinyauth doesn't retrieve groups with AzureAD #496
Not sure to be honest. If Azure does not return the groups in the user info endpoint, then Tinyauth won't be able to fetch them. From a quick Google search it seems to only return:
{
"sub": "OLu859SGc2Sr9ZsqbkG-QbeLgJlb41KcdiPoLYNpSFA",
"name": "Mikah Ollenburg", // all names require the “profile” scope."family_name": " Ollenburg",
"given_name": "Mikah",
"picture": "https://graph.microsoft.com/v1.0/me/photo/$value",
"email": "mikoll@contoso.com"// requires the “email” scope.
}
Activity
[-][BUG][/-][+][BUG] Tinyauth doesn't retrieve groups with AzureAD[/+]naub1n commentedon Dec 4, 2025
TinyAuth seems to read groups with
USER_INFO_URL, AzureAd doesn't send groups inhttps://graph.microsoft.com/oidc/userinfo. 😢 . It is right ?steveiliop56 commentedon Dec 8, 2025
Not sure to be honest. If Azure does not return the groups in the user info endpoint, then Tinyauth won't be able to fetch them. From a quick Google search it seems to only return:
{ "sub": "OLu859SGc2Sr9ZsqbkG-QbeLgJlb41KcdiPoLYNpSFA", "name": "Mikah Ollenburg", // all names require the “profile” scope. "family_name": " Ollenburg", "given_name": "Mikah", "picture": "https://graph.microsoft.com/v1.0/me/photo/$value", "email": "mikoll@contoso.com" // requires the “email” scope. }naub1n commentedon Dec 10, 2025
Yes, Tinyauth should use Microsoft Graph API to retrieve Azure AD groups or use groups in id_token.
Perhaps in a future release ! 😉
feat: extract OAuth groups from ID token when userinfo omits them