Auth Server
provides you with an opinionated authentication server meant to be able to integrate with numerous different projects. With the easy to use endpoints you will be able to handle login, registration, verification (email) and OAuth login without building your own backend for authentication.
This project started out when I noticied I rebuilt the same functionality over and over again across different projects. With time, these projects slowly drifted away in terms of functionality and how the authentication flow worked, leaving me with harder to maintain projects. Auth Server
is a combination of all those efforts so I can easily get the same authentication functionality across all my projects just by spinning up a docker container.
Run docker compose up
to spin up the API and accompanying postgres database.
By default the database is configured to be listening on port 5433
and the API on port 5001
. This can be changed in the docker-compose.yml
file.
You can find example projects that utilize the functionality of Auth Server
in the example folder.
Auth Server
is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.