i have some problems trying to log on GameSparks with Google Plus (Play Services) authentication.
I had setup my application, a was able to correctly login with PlayServices and retrieve the access token, but when i use it with GooglePlusRequestConnect i always have the "NOAUTHORIZED" error.
I don''t have any idea how to deal with this, i have follow your tutorial but i cannot understand what problem could cause this error.
Have you got any suggestions ?
Thanks for your reply,
Andrea
Best Answer
C
Customer Support
said
over 5 years ago
So there is a few issues that might be causing problems here. Google plus and Google play users are not the same just because the player has the one account. It is possible to have one without the other. There is also things to look at like user permissions, which would allow you to get credentials back, but dont let GameSparks login on behalf of the user with those credentials.
We've update the tutorials on these things, so you can check them out to see if that resolves your issue. Thanks, Sean
I am absolutely not sure as I am a beginner myself. But try to play with the settings
"doNotLinkToCurrentPlayer":
"errorOnSwitch"
"switchIfPossible"
It could have something to do with you already having a linked account and you have not set it to switch if possible.
A
Andrea Lattuada
said
almost 8 years ago
Thanks Rolf for your reply, but it's not something related to this options. I try to modify it but nothing changes.
I think it's something related to the registration token i retrieve from Googl Plus, or some wrong settings, but i don't understand which one.
I opened a ticket, hope to get some help there. If i'll get some useful tips i'll post it here, so if someone has the same issue could use the information.
L
Luis Vieira
said
almost 8 years ago
HI,
I have the same problem, any help plz?
Customer Support
said
over 5 years ago
Answer
So there is a few issues that might be causing problems here. Google plus and Google play users are not the same just because the player has the one account. It is possible to have one without the other. There is also things to look at like user permissions, which would allow you to get credentials back, but dont let GameSparks login on behalf of the user with those credentials.
We've update the tutorials on these things, so you can check them out to see if that resolves your issue. Thanks, Sean
Andrea Lattuada
Hi guys,
i have some problems trying to log on GameSparks with Google Plus (Play Services) authentication.
I had setup my application, a was able to correctly login with PlayServices and retrieve the access token, but when i use it with GooglePlusRequestConnect i always have the "NOAUTHORIZED" error.
I don''t have any idea how to deal with this, i have follow your tutorial but i cannot understand what problem could cause this error.
Have you got any suggestions ?
Thanks for your reply,
Andrea
So there is a few issues that might be causing problems here.
Google plus and Google play users are not the same just because the player has the one account. It is possible to have one without the other. There is also things to look at like user permissions, which would allow you to get credentials back, but dont let GameSparks login on behalf of the user with those credentials.
We've update the tutorials on these things, so you can check them out to see if that resolves your issue.
Thanks,
Sean
https://docs.gamesparks.com/api-documentation/request-api/authentication/googleplusconnectrequest.html
https://docs.gamesparks.com/tutorials/social-authentication-and-player-profile/google--authentication.html
https://docs.gamesparks.com/api-documentation/request-api/authentication/googleplayconnectrequest.html
3 people have this question
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstRolf Jensen
I am absolutely not sure as I am a beginner myself. But try to play with the settings
"doNotLinkToCurrentPlayer":
"errorOnSwitch"
"switchIfPossible"
It could have something to do with you already having a linked account and you have not set it to switch if possible.
Andrea Lattuada
Thanks Rolf for your reply, but it's not something related to this options. I try to modify it but nothing changes.
I think it's something related to the registration token i retrieve from Googl Plus, or some wrong settings, but i don't understand which one.
I opened a ticket, hope to get some help there. If i'll get some useful tips i'll post it here, so if someone has the same issue could use the information.
Luis Vieira
HI,
I have the same problem, any help plz?
Customer Support
So there is a few issues that might be causing problems here.
Google plus and Google play users are not the same just because the player has the one account. It is possible to have one without the other. There is also things to look at like user permissions, which would allow you to get credentials back, but dont let GameSparks login on behalf of the user with those credentials.
We've update the tutorials on these things, so you can check them out to see if that resolves your issue.
Thanks,
Sean
https://docs.gamesparks.com/api-documentation/request-api/authentication/googleplusconnectrequest.html
https://docs.gamesparks.com/tutorials/social-authentication-and-player-profile/google--authentication.html
https://docs.gamesparks.com/api-documentation/request-api/authentication/googleplayconnectrequest.html
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics