goth icon indicating copy to clipboard operation
goth copied to clipboard

Azure AD V1/V2 not able to read groups claims

Open jasonvriends opened this issue 2 years ago • 0 comments

  1. In the latest Gitea 1.16, when I specify the claim name 'groups' and an Azure AD group ID it doesn't seem to do anything. I am trying to get the 'is admin' populated based on a Group ID.

  2. The userid is the object ID of the user in Azure AD. Can this be the first part of the UPN instead?

https://github.com/markbates/goth/blob/master/providers/azureadv2/azureadv2.go

jasonvriends avatar Mar 11 '22 18:03 jasonvriends