This is a Single Sign-On (SSO) provider written in Rust. This project is mainly for learning about authentication, authorization, and secure identity systems.
- Docker
- Make
- Rust
- sqlx-cli: install with
cargo install sqlx-cli --no-default-features --features postgrescp .env.example .envmake setupThis will:
- Generate RSA private and public keys for JWT signing
- Start PostgreSQL in Docker
- Create the database
- Run all SQL migrations
- Prepare sqlx offline cache
You can now start your local development, use make run to execute your code.
The API Swagger Documentation can be found, under /docs/openapi.yaml. To view it locally, run make build-swagger-docs. It's now available under localhost:8000.
test_url: http://localhost:5173/?response_type=code&client_id=sap_concur_client_001&redirect_uri=https%3A//www.concursolutions.com/auth/callback