microg / microg/GmsCore

Some 3rd-party apps are asking to login to a Google Account

Open
#2,783 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

I upgraded from version 0.3.2.40226 to 0.3.3.40226 and this behaviour is happening so it was likely introduced to 0.3.3. I think it might be the line

  • Allow third-party apps to request first-party tokens after explicit user consent

But I am unsure about that.

If I press cancel, the app works like normal, but having to do this every time is a bit of a pain.

So it is: 3rd party app --> open --> prompted to login to a Google account --> cancel --> functions normally

Pop up image for reference

Image

Prior to this, for pretty much all the old versions, I never have been prompted to do this. The only time was when I actually tried to enter a google account under microG --> Google Accounts --> Add Google account - that is if I were to add a google account.

Is there any way to block the popup from occurring that maybe I am missing in the settings?

I am not sure if this should be requested as an enhancement or rather a bug. I see #2648 has some related information but as an enhancement.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the changes between versions 0.3.2.40226 and 0.3.3.40226, especially the reported third-party token consent change, and compare them with the related discussion in #2648. Done means identifying why third-party apps trigger the Google Account prompt and preventing the prompt when the app otherwise functions normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.