Skip to content

Mozzo1000/auth-server

Repository files navigation



Auth Server

A JWT token authentication and user management server.

Apache 2.0 License

About the project

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.

Why?

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.

Usage

Run with docker

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.

Examples

You can find example projects that utilize the functionality of Auth Server in the example folder.

License

Auth Server is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

About

A JWT token authentication and user management server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published