Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8065831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:47:25+00:00 2026-06-05T11:47:25+00:00

I am working on a mobile app that will hit some Google APIs, authenticating

  • 0

I am working on a mobile app that will hit some Google APIs, authenticating using OAuth2.

It’s working pretty well but when I navigate to the approval Uri, Google is returning what looks like a full blown desktop app approval page. It doesn’t look too bad but I’d prefer to get the stripped down mobile version that you could ask Google’s OAuth 1 to display.

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

btmpl

(optional) Forces a mobile version of the approval page. The only accepted value is "mobile". This is a Google-specific parameter.

I’ve tried adding it to the OAuth2 approval Uri but no joy. So if I’m using the Google installed application auth flow, are there any options for indicating that the request is coming from a small screen device?

The oauth endpoint I am 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
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:47:27+00:00Added an answer on June 5, 2026 at 11:47 am

    The OAuth 2.0 URL that you are referring to already has a mobile-friendly version available. However, unlike the OAuth 1.0 URL, there is no URL parameter to force it, instead it uses user-agent detection to display the appropriate version depending on the browser. At least it works fine on my Android device (I haven’t tried with any other devices though).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're working on a web app that will deployed to mobile devices, iPad, iPhone,
I'm working on a mobile app that will get data from GAE, and I'm
I am currently working on a mobile app that is going to communicate with
My company is working on a dynamic mobile app that updates the look and
I have been working with a Windows Mobile 6 app that is built with
I am working on an app that reads the contact names from the mobile
So I'm working on a mobile web app using jQuery Mobile, and I need
I'm working on a simple web app using jQuery mobile, and it is designed
I'm refactoring some code so that my app will pull data from a website
I have found that while using the <meta name=apple-mobile-web-app-capable content=yes /> tag in iOS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.