Authentic Auth Service... Provides identification of a user from multiple external services.
Currently supported:
Developer Applications
Create a new application
, then click Create Application
Developer Applications
and click on the recently created app's UUID to edit it then click Edit Callback URIs
. The callback URI you specify is where AbandonAuth will redirect users after authenticating. It should be whichever address your server is using to finish handling the login process. Some examples are as follows:
"http://your_computers_local_ip:8001/login/abandonauth-callback"
"http://localhost:8001/login/abandonauth-callback"
https://mc.abandonauth.cloud/api/callback
For a quick example of how to log a user in using AbandonAuth, please see AbandonAuth's login UI
Create your .env
file in the root project directory, you can copy .env.sample
as the base for this.
Read how to setup Discord OAuth2 here.
docker compose up --build
A sample User schema has been created to allow the prisma client to generate upon project creation. This should be modified or deleted to fit your app's needs prior to creating any migrations.
This project is using prisma as the ORM
The migrations can be pushed to the running postgresql container using the
schema and migrations found in ./prisma/migrations
.
prisma db push --schema prisma/schema.prisma
Migrations can be created by using this command, while the database is running.
prisma migrate dev --schema prisma/schema.prisma --name "what this change does"
Install pre-commit to make sure you never fail linting in CI
poetry run pre-commit install