We would like to use google as identity provider for our own identity server. My problem is I would like to generate a jwt access token on our identity server side which contains google groups (Google for education group actually). For to do that I have to get from google the groups during my authorization request. I follow the link
Could you recommend best way how to get user groups? Is it possible in general?
Thank you
The best way would be for Google to provide group claims, like Azure does. For the time being you'll need to use the List method in the Directory API.