loicteixeira / gj-unity-api

[MOVED] Game Jolt API wrapper for Unity.
https://github.com/InfectedBytes/gj-unity-api/
MIT License
16 stars 13 forks source link

Sign in failure - Invaid login information #57

Closed ghost closed 9 years ago

ghost commented 9 years ago

Just released a game on GameJolt with your library and I have some users reporting that the sign in is failing with incorrect token. One person was a buddy, who wasn't able to sign in (tried lots of times) and then gave me his credentials to test. I could sign in just fine with them. He tried again and failed.

This happened in both standalone and Unity web player builds.

loicteixeira commented 9 years ago

Looking at your published game on Game Jolt, I assume you are talking about Dumpster Dash?

I tried the Desktop version and it just worked fine. Regarding the WebPlayer and WebGL versions, you shouldn't ask the user to sign in as they are automatically signed in (the API is able to recognize who's signed in on the website and sign that person in the game).

I agree that the current error message is not great as it says "wrong username or password" when it should says "user already logged in" and will probably do something about it in future versions.

ghost commented 9 years ago

This actually happened on both the web and the desktop version, so I don't think that is the problem. I didn't realize the sign in was automatic for the web versions, so I'll go and correct that behavior.

Regardless, when on the web version I am able to input my credentials and sign in without issue. (I am not having this problem happen, but others are. A lot of others.)

loicteixeira commented 9 years ago

I can't reproduce it. Please try to obtain logs from them so we can see what the error is.

ghost commented 9 years ago

Sorry, things have been hectic. I'll try to get some logs this week for you!