Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Play screen keeps loading (spinning circle) after adding auth scopes #319

Open
VirtualAutonomy opened this issue Mar 28, 2021 · 0 comments

Comments

@VirtualAutonomy
Copy link

VirtualAutonomy commented Mar 28, 2021

Very annoying bug completely stopping development work. The moment I add any auth scopes to my connection script, the login to Google Play never seems to conclude - it resulting in a spinning circle and an empty pop up box. I need the additional scope to exchange the auth code for an id token on my backend server.

Without the additional 0authScope below, it will connect but I require it for the reason above. At first I thought it might be because I had the wrong syntax but I've also tried without the url and just the string 'profile' - still, the same problem persists.

`

PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder()

.RequestServerAuthCode(false)

.AddOauthScope("https://www.googleapis.com/auth/userinfo.profile") 

.Build();

    PlayGamesPlatform.InitializeInstance(config);
    PlayGamesPlatform.Activate();
    PlayGamesPlatform.DebugLogEnabled = true;

`

I'm calling/testing the auth with:

Social.localUser.Authenticate((bool result) => { isAuthorized = result; if (!result) { ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant