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 9134455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:39:44+00:00 2026-06-17T08:39:44+00:00

When login through Google’s authenticator, the Allow Access screen(GrantPermissionActivity) is prompt once per account

  • 0

When login through Google’s authenticator, the Allow Access screen(GrantPermissionActivity) is prompt once per account per app(uid), however it is not documented where can be opt to have that screen appear for custom 3rd party authenticators.

Anyone know if there is anyway to do this?

I tried to insert a custom check and mimic the GrantPermissionActivity, but the problem is that AuthToken is cached, so I couldn’t figure out how to enforce this on third party apps as the getAuthToken will simply by pass the custom codes with token cached.

Note that this is not the same problem as: How do you force AccountManager to show the "Access Request" screen after a user has already allowed access?

  • 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-17T08:39:45+00:00Added an answer on June 17, 2026 at 8:39 am

    I think I have figured out a very good solution, but this is probably not how the Google Allow Screen works.

    In the Authenticator, you get the calling package, which can’t be spoofed since AccountManager verifies the UID/PID of the app. You use the calling package as part of the token type as well as the app’s install date (optional, found by using the package manager), this way each app’s token will be cached separately.

    If the token type does not contain the package name as the calling package, no token will be returned.

    For each auth token type, you also verifies a client secret regards the client key. You will then only return the Allow Access screen intent if this is the first time the client asks for the key per account per custom account type.

    Note that if you want to white list app, you can also do it on a per account token type basis.

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

Sidebar

Related Questions

I want authenticate user in my android app through google login and then dispaly
I want to use the Google account login to retrieve the informations to be
I'm trying to use the Google Drive API through the App Identity interface provided
I have built a website and intend users to login with their google account,
I have a standard Google Apps account. I have setup a custom domain through
I'm creating login mechanisms that include login through Facebook, Twitter and Google/Google+. Now all
I'm trying to implement a login system that only supports login through a Google
I am new with this task. How to Login into iphone native App through
I'm trying to access an OAuth-protected resource on Google App Engine using a Java/Groovy
The user must login through the WebView. Of course, the session is for that

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.