- Then i can login with two accounts at same time at only one app on a device.
@hooman You can login with as many accounts as you want on a single device. I’m not sure why you’d want to do that other than to test but you can. The client SDKs don’t assume control of what device identifier is used with that authentication option in the server. This means you can really pass in any ID you want to create a “link” to reach the user account.
- I should change session expire life time even im communicate with server periodically. And i should re auth every 24 hour. Is it true?
A session token in Nakama is the same approach as what most web and mobile applications use to handle authentication. A JSON Web Token (JWT) is generated which has a lifetime after the lifetime has expired which can be checked you’re expected to re-authenticate the user. How often you want to do that and whether you make it a programmatic action or one that’s performed by the end user is up to you and the login flow you want in your game.