question

wendsaaaa avatar image
wendsaaaa asked

Hello sir. Is it possible for mo to create a log in system in playfab that the user will just log in ones after that if he reopen again he still loged in on my game like face book or other game like clash royale. Pls help me sir.

Player Data
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

·
Seth Du avatar image
Seth Du answered

Yes, it is possible. For long-lasting login mechanism, you can store Custom ID and use LoginWithCustomID in case there is needs. PlayFab provide an official sample on GitHub which can be a good learning material for you. Please check the authentication scripts in this project.

When you use API calls to login, a Session Ticket will be generated and will last 24 hours. In normal circumstance, there is no need for developer and users to access Session Ticket and we do not suggest storing it locally. It’s better to use custom ID for silent authentication . If you are interested in the corresponding details, please see JayZuo’s answer here.

Before you design your own login system, we highly recommend you to read the Login Basics & Best Practices.

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.