next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

Minecraft Authentication Provider

Open aimproxy opened this issue 3 years ago • 1 comments

Description 📓

Minecraft has moved to Microsoft accounts! Starting December 2020, all new Accounts already use the new system, and old accounts are now required to be migrated. Mineshop team want to benefit from Microsoft Authentication Scheme to authenticate Minecraft players into Shopify Stores. We already use NextAuthJs at the Edge on Vercel to perform authentication, our team will be more than happier to implement this feature on NextAuthJs.

Documentation on Microsoft OAuth flow is available here: https://wiki.vg/Microsoft_Authentication_Scheme Our website: https://mineshop.app

How to reproduce ☕️

This can't be reproduced

Contributing 🙌🏽

Yes, I am willing to help implement this feature in a PR

aimproxy avatar Jul 10 '22 16:07 aimproxy

Are you proposing to add a MinecraftProvider here? If so, please feel free to open a PR!

balazsorban44 avatar Jul 11 '22 16:07 balazsorban44

It looks like this issue did not receive any activity for 60 days. It will be closed in 7 days if no further activity occurs. If you think your issue is still relevant, commenting will keep it open. Thanks!

stale[bot] avatar Sep 25 '22 19:09 stale[bot]

To keep things tidy, we are closing this issue for now. If you think your issue is still relevant, leave a comment and we might reopen it. Thanks!

stale[bot] avatar Oct 08 '22 07:10 stale[bot]

Is there any update on this / anyone who is willing to implement this? I'd add it myself, but Microsoft's authentification flow for Minecraft is quite complicated and involves many queries required and I don't know how one would implement that with next-auth You can find more about how their flow works here

OfficialCRUGG avatar Oct 11 '22 15:10 OfficialCRUGG

@OfficialCRUGG Hi, can I know more about your use case? You can actually see an implementation of Microsoft's authentification flow for Minecraft here: https://docs.rs/ms_auth_mc/latest/src/ms_auth_mc/lib.rs.html#1-371

aimproxy avatar Oct 11 '22 22:10 aimproxy

@aimproxy did you get a MicrosoftProvider working? I'm also interested in that as I am working on some tools for Minecraft players.

ravinggenius avatar Jan 08 '23 04:01 ravinggenius

I left the project because I don't have much time for it! @ravinggenius but the integration is possible yeah!

aimproxy avatar Jan 08 '23 15:01 aimproxy