can't login

i got following error, when try to using game minion

Login Error: {“errors”:[“Username or password is incorrect.”]}

i’m using my user name and password login gameminion, which is okay [import]uid: 22631 topic_id: 29480 reply_id: 329480[/import]

Hi,

Your developer login (the one that you use to log into the Game Minion developer portal) is independent from the “End User” accounts.

In order to log into the Game Minion service as an “End User”, you must create an account via the API.

If you’re using the Game Minion Library, then you’ll want to use:
[lua] gameminion:registerUser() [/lua]

Hope that helps,

Ali [import]uid: 10499 topic_id: 29480 reply_id: 118351[/import]

hi Ali,

thanks for your help, any sample code in Corona how to do it?

thanks!

ray [import]uid: 22631 topic_id: 29480 reply_id: 118353[/import]

Sure,

It’s very straight forward:

[lua]-- Initialize Game Minion. Be sure to use your own Games Access and Secret Keys
gm = gm.init(“XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”, “XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”)

– Register a new user. Obviously replace all fields with your own details
gm:registerUser(“MyFirstName”, “MyLastName”, “MyUserName”, “MyEmailAddress”, “MyPassword”)[/lua]

You should then be able to login with the user details created above.

Ali [import]uid: 10499 topic_id: 29480 reply_id: 118355[/import]

hi Ali,

thanks!

ray [import]uid: 22631 topic_id: 29480 reply_id: 118356[/import]

In case anyone stumbles across this and is also having issues with the above (as I was too) when you log-in even though the documentation states “username” you have to actually use “email” to log someone in.

I kept getting the error “Username or password is incorrect” when I knew it wasn’t and once I switched to using the “email” field instead of “username” I was able to successfully log-in.

-Clark [import]uid: 5786 topic_id: 29480 reply_id: 127775[/import]

In case anyone stumbles across this and is also having issues with the above (as I was too) when you log-in even though the documentation states “username” you have to actually use “email” to log someone in.

I kept getting the error “Username or password is incorrect” when I knew it wasn’t and once I switched to using the “email” field instead of “username” I was able to successfully log-in.

-Clark [import]uid: 5786 topic_id: 29480 reply_id: 127775[/import]