While using tokens from device_token_auth for session management, implement feature to invalidate the current session if error code 401 is returned in any request.
That way, when the token expires the user is not longer stuck with an invalid session.
While using tokens from device_token_auth for session management, implement feature to invalidate the current session if error code 401 is returned in any request. That way, when the token expires the user is not longer stuck with an invalid session.