Answer the question
In order to leave comments, you need to log in
How to extend the authorization time of a player in a web game?
After the player is authenticated, he is given an access token and a refresh token.
When the token's lifetime comes to an end, the system re-requests it using a refresh token.
But in reality, it happens that the user, while in the game, sent an event at the time the token was updated, when the old one was deleted, but he did not receive a new one.
Because this is a game where there is no time to send the event socket again, how to correctly authenticate the client's authorization and how to re-request the token?
Browser game.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question