oauth 2.0 - Can I get Google's OAuth2 to display a mobile friendly approval page? -



oauth 2.0 - Can I get Google's OAuth2 to display a mobile friendly approval page? -

i working on mobile app nail google apis, authenticating using oauth2.

it's working pretty when navigate approval uri, google returning looks total blown desktop app approval page. doesn't bad i'd prefer stripped downwards mobile version inquire google's oauth 1 display.

(from http://code.google.com/apis/accounts/docs/oauth_ref.html)

btmpl (optional) forces mobile version of approval page. accepted value "mobile". google-specific parameter.

i've tried adding oauth2 approval uri no joy. if i'm using google installed application auth flow, there options indicating request coming little screen device?

the oauth endpoint using:

https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http://localhost&scope=https://www.googleapis.com/auth/userinfo.profile&client_id=xxxxxxx.apps.googleusercontent.com

the oauth 2.0 url referring has mobile-friendly version available. however, unlike oauth 1.0 url, there no url parameter forcefulness it, instead uses user-agent detection display appropriate version depending on browser. @ to the lowest degree works fine on android device (i haven't tried other devices though).

oauth-2.0

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -