I have used LoginWithEmail API for my users to get logged-in but I don't want them to add the Email/Password each time they open the app and I don't want to store the password in PlayerPrefs or some other unprotected storage.
What I have thought to do is
- First, ask my users to enter the email/password(First time only)
- If the login is successful, then I use another API(Android device or iOS Device) to link their device with their account and then always use LoginWithAndroidDeviceId or LoginWithIOSDeviceId depending on which mobile OS/platform they are on
I think this way I won't need or have to store any credentials on client side. Am I thinking it right? If not, please let me know what is the best way/solution?