question

Hengky avatar image
Hengky asked

How to automatic login using playfab account (remember me) ?

how to autmatically login using playfab account if user ever login using their playfab account (like remember me feature)

Account Management
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Storing credentials locally might be insecure, hence it’s not recommended unless you can implement a secure way to store such data . Instead, your game can use Anonymous login mechanisms to sign in players , this offers the players a fully automated login process – they don’t not need to type in any credentials in order to sign in. However, you must also make sure that each player account has at least one Recoverable login mechanism bound, in your case, I assume, is the PlayFab account which uses LoginWithPlayFab/LoginWithEmailAddress to sign in, so that they can recover their accounts if they lose or break devices. For more details, please check out the doc on Login basics and best practices.

And, these threads might be helpful for your scenario, you can take a look :

https://community.playfab.com/questions/15503/initial-startup-flow-best-practices.html

https://community.playfab.com/questions/42440/what-is-the-best-way-to-use-loginwithemail-api-for.html

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.