I'm building a backoffice aplication and want to leverage our companies Google for Work directory for authentication. Is there a way to retrieve the groups a user belongs to within the organization? Maybe to get them in the claims when authenticating via OpenId?
Asked
Active
Viewed 502 times
1 Answers
1
While your question is a little unclear (what are you using to build your application? what exactly do you mean by "the groups a user belongs to"?), you can fairly easily retrieve user information using the Directory API.
For actual authentication, you can use Google as an Oauth identity provider.

F. Stephen Q
- 4,208
- 1
- 19
- 42
-
I'm using aspnet middleware for openID and what I meant with the "groups a user belongs to" was about which AD groups he's been assigned, and was wondering if there was a way of getting this info on the claims – evilpilaf Dec 05 '16 at 12:25