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

Revoking MS Tokens #10

Open
benrobson opened this issue Aug 14, 2022 · 5 comments
Open

Revoking MS Tokens #10

benrobson opened this issue Aug 14, 2022 · 5 comments

Comments

@benrobson
Copy link

Let me know if you need more detail...
Just looking for a method where on logout you can revoke the MS Account/Session or if the user logs in with the wrong account, or if there's an error with logging in, I can revoke the session/token.

@dommilosz
Copy link
Owner

You cannot revoke access token but can revoke refresh token. Also if you want to revoke only Minecraft session I think it would be easy to implement too.
Source: https://docs.microsoft.com/en-us/answers/questions/672062/how-to-revoke-token.html

@dommilosz
Copy link
Owner

I can't really find anything useful. This link above is for graph ql which from my testing is not for revoking this kind of tokens. I think it's safe to simply forget about the token and if user really wants to remove it he can go to authorised applications and remove it

@dommilosz
Copy link
Owner

Most of the unofficial minecraft launchers have no option to remove the app in the launcher itself.

@benrobson
Copy link
Author

So is there a way to effectively "logout" of the session without having to have the user clear their cache?

@dommilosz
Copy link
Owner

I think user has to remove the app in his Microsoft account to revoke the tokens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants