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 Sign in is not working as expected in nakama #1289

Open
Rojash123 opened this issue Nov 22, 2024 · 1 comment
Open

Google Sign in is not working as expected in nakama #1289

Rojash123 opened this issue Nov 22, 2024 · 1 comment

Comments

@Rojash123
Copy link

Rojash123 commented Nov 22, 2024

So i am getting this error in my server console

{"level":"warn","ts":"2024-11-21T10:52:58.057Z","caller":"social/social.go:974","msg":"error response code from social request","provider":"google play services","code":403,"body":"{\n "error": {\n "code": 403,\n "message": "Request had insufficient authentication scopes.",\n "errors": [\n {\n "message": "Insufficient Permission",\n "domain": "global",\n "reason": "insufficientPermissions"\n }\n ],\n "status": "PERMISSION_DENIED",\n "details": [\n {\n "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",\n "domain": "googleapis.com",\n "metadata": {\n "method": "google.play.games.games.v1.Players.GetPlayer",\n "service": "games.googleapis.com"\n }\n }\n ]\n }\n}\n"}

This is throwing error
Session = await Client.AuthenticateGoogleAsync(token, userName, isCreateNew=false);

This is working fine
Session = await Client.AuthenticateGoogleAsync(token, userName, isCreateNew=true,loginData);

Expected Result

Can't sign in to old google account when i set the is create new to false

Actual Result

always has to use sign in to old google account when i set the is create new to true

Copy link

linear bot commented Nov 22, 2024

@Rojash123 Rojash123 changed the title Google Sign in is now working as expected in nakama Google Sign in is not working as expected in nakama Nov 22, 2024
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