Skip to content

tom-ludwig/sso-oidc

Repository files navigation

SSO Provider

This is a Single Sign-On (SSO) provider written in Rust. This project is mainly for learning about authentication, authorization, and secure identity systems.

Getting Started

Requirements

  • Docker
  • Make
  • Rust
  • sqlx-cli: install with
cargo install sqlx-cli --no-default-features --features postgres

Start Everything

cp .env.example .env
make setup

This 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.

Documentation

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors