We have web app for internal usage and want to add auth with google. So the authentication part was quite simple. I followed this tutorial
But authorization part is not obvious for me. We have different roles in our system and want to give different roles to each google account and manage them there. I want to use auth groups with scope https://www.googleapis.com/auth/groups So I have two questions, are the groups the right choice, I mean can we authenticate user by checking what group is he part of? Would be very thankful for any links for the authorization part