oauth 2.0 - How to authenticate a user from the Google Apps Marketplace Universal Navigation Link -


the google apps marketplace lets configure universal navigation link logged-in apps users click load web application. since user logged in google apps account when click on link, i'm wondering there way authenticate them when click on link , hit web application server endpoint?

i suppose possible forward them on google authentication page callback redirect_uri when authentication complete, seems require step redirect, wouldn't it?

i know can send parameters ${domain_name} in universal navigation link, there other information can send url? couldn't find kind of documentation this.

ok, i've figured out though when clicking universal navigation link, user coming gmail , authenticated, way complete authentication in app , receive access token perform standard oauth 2.0 redirect required scopes , redirecturi. if user is logged in, application's redirect google oauth 2.0 endpoint in turn redirected application, along code can used retrieve access token.

at point, 1 can use people api's endpoint retrieve current user passing "me" user id.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -