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

Allow for non OAuth2.0 workflow that doesn't require the user to visit a Website #196

Open
SpraxDev opened this issue Jun 15, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@SpraxDev
Copy link
Member

Quote from Discord chat:

well the old system I used it just gave a code when you connected to the server and then that code could be used once to retrieve the users name and uuid from the api
obviously the style of having the website give the code could be technically better since it can remember the login but I really doubt there are many cases where a user has to logon thru the service multiple times within a short time
but obviously even if the url is https://mc-auth.com/whatever discord will pop up that hey are you sure prompt which is the problem with any authentication


I'd like to use the same client_id and client_secret used for OAuth2.0 but instead of pointing the user to Mc-Auth and back to the requesting app.

Instead something like the following:

  1. The app tells me that Minecraft-User SpraxDev wants to authenticate
  2. Mc-Auth sends a success response, maybe with a request/session token and Minecraft server IP to join
  3. The user joins the server and gives the generated Code to the app
  4. The App gives me the request/session token and the code that was provided by the user
  5. Mc-Auth responds with the users profile information or an error
@SpraxDev SpraxDev added the enhancement New feature or request label Jun 15, 2022
@SpraxDev SpraxDev self-assigned this Jun 15, 2022
@SpraxDev
Copy link
Member Author

grafik
grafik

@DarthGigi
Copy link

Any progress on this feature 👀 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants