My resource server uses Oauth2 for authentication. We use google to authenticate the user. So basically Google is used as authentication server. 'tegile' is used as domain when authenticating.
What is the way to get bearer token from Google that I can pass to my resource server as part of REST header?
Here's how you can use Google's Sign-In button template to initialize the login & grant of permissions process: