I have android game done in unity. I have server rest API made in .Net, which is using Microsoft SQL Database.
I would like to do some registration - creating new account and Authentication like modern games are using. They during the login screen determine if user existed or not and if user existed the user data are served to the client. If user do not exist the new account is created.
I dont want use password and username. Also want be able to access my game account in any device which is owned by my. (using same google account)
I would like to have authentication like modern android games. E.g Clash Royale, Clash of Clans, Modern Strike, Fire Age, Candy Crash Saga etc.
my questions are: What are best practices for android game registration/authentication ? Where is starting point I should start learn ? Any links would help.
I know how to create client, web api, also work with database, understanding hashing. What I am missing is best practice, how to do it properly. Or how to merge stuff i know to do it properly.
Also I did my homework: Searched that there is something like OAuth2, which used to login using 3rd party identity, which might be my google account ? But not sure if thats the way.
Egid