modrinth / minos

Modrinth's authentication, powered by Ory

Home Page:https://minos-ashen.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minos

Modrinth authentication backend using Ory Kratos

Includes:

  • a small Actix server that demos an authentication process in a middleware (Minos)
  • a Nuxt server that goes through the Ory login flow with Modrinth UI

Accessing the endpoints GET /user and GET /user/session will provide authentication information if request has an Ory cookie attached.

Uses a different database on the labrinth DB instance- sqlx database create must be likewise run here to create the minos DB.

Ory

Read more about Ory Kratos here:

Ports:

  • 4000: Minos Actix server. (staging-minos.modrinth.com)
  • 4433: Kratos API (staging-kratos.modrinth.com)
  • 4434: Kratos admin API
  • 4436: Mailslurper ports (for demoing email)
  • 4437:4437: Mailslurper ports (for demoing email)
  • 4455: Nuxt 3 webserver. (staging-auth.modrinth.com)
  • 24678:24678: Nuxt communication port
  • 24679:24679: Nuxt communication port

About

Modrinth's authentication, powered by Ory

https://minos-ashen.vercel.app

License:GNU Affero General Public License v3.0


Languages

Language:Rust 41.9%Language:Vue 40.2%Language:JavaScript 6.8%Language:Jsonnet 6.2%Language:CSS 3.1%Language:Dockerfile 1.0%Language:TypeScript 0.7%