Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token invalid on every login #3164

Open
Kardix opened this issue Apr 21, 2024 · 3 comments
Open

Token invalid on every login #3164

Kardix opened this issue Apr 21, 2024 · 3 comments
Labels

Comments

@Kardix
Copy link

Kardix commented Apr 21, 2024

Hello,

I've been having an issue - namely the token expiring. WHile i totally understand why (oauth and oauth2 principles) - why can't the app use refresh token to refresh the token, and instead makes user re-login on the page ?
I'm assuming it's the FAF_windows_x64_2024_3.0 version

To Reproduce
Invalidate token & start the app i guess.

*edit: Or be in app and have it expire. Will actually brick the game.

Log or error message
Will update on next exception, already logged in, perhaps tomorrow
*edit - token lifetime = 5h

Expected behavior
A user is logged in, without being told his token is malformed, expired or whatnot.

*edit: ALSO not stopping the game, because someone's token has expired

Screenshots
N/A

OS
Windows

@Kardix Kardix added the bug label Apr 21, 2024
@Sheikah45
Copy link
Member

If you get this error on first login then it is the refresh token that is expired for some reason likely it was used and the client had issues updating the prefs file likely because of permissions.

@Kardix
Copy link
Author

Kardix commented Apr 21, 2024

@Sheikah45 hey, i was in game actually and the token expired in 5h. THis resulted in game hanging, and the app telling me token is invalid malformed or expired, and causing the game to stop for all players

@Sheikah45
Copy link
Member

hmm yeah that is pretty weird. But that message is basically saying the refresh token itself is invalid

@micheljung micheljung changed the title Token incalid on every login Token invalid on every login Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants