I created a custom Convex Auth Provider for Minecraft
The full flow:
- User types /app command in Minecraft, which via a Plugin sends a signed POST request to ...
- a Next.js Route Handler that seals the UUID using iron-session and returns it back to
- the plugin which then sends the user a message with a link to a
- Next.js page which triggers the signIn method on the
- Custom Minecraft Provider which unseals the data, extracts the UUID and creates a user account with Convex and returns the user id that then signs the user in
0 Replies