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

Modrinth App sometimes refuses to refresh access token #1168

Open
brawaru opened this issue May 3, 2024 · 0 comments
Open

Modrinth App sometimes refuses to refresh access token #1168

brawaru opened this issue May 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@brawaru
Copy link
Contributor

brawaru commented May 3, 2024

Describe the bug

I'm observing a peculiar trend among the user support requests, where it seems that Modrinth App refuses to refresh the access token that it passes to the game, which causes the Invalid session error when trying to join a server.

It seems that for users caught up in this not even signing out and back in to their Minecraft account through the app helps. What helps, however, is fully deleting the [app directory]/caches/metadata/minecraft_auth.json file while the app is closed, and then signing back in. Very odd.

Steps to reproduce

  1. Launch your game prepared to have a happy time placing breaking blocks on your silly server.
  2. Try to join the server.
  3. Get the “Invalid session. Try restarting your game and launcher.” error.
  4. Well, worth a try, follow the instruction and restart Modrinth App and the game.
  5. Launch game now expecting this to be solved.
  6. Get the “Invalid session. Try restarting your game and launcher.” error.
  7. Get angy because can't play the game.
  8. Contact Modrinth Support.
  9. Poor support soul tells you to try to sign out and sign back in. Do that.
  10. Doesn't work.
  11. Support person tells to try maybe delete the minecraft_auth.json file. Do that.
  12. Sign back in.
  13. Go to the game and try joining the server. It works!! 🎉 🎆 🥳

Expected behavior

Modrinth App should refresh the expired access token right before launching the game, but doesn't do that for some reason, even after completely logging out and logging back into the Minecraft account.

System information

Likely universal, Modrinth App 0.7.1.

Additional context

I've reported this in the GC, however posting here as well for transparency (in case anyone else has this).

@brawaru brawaru added the bug Something isn't working label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant