Skip to content

Latest commit

 

History

History
77 lines (47 loc) · 1.01 KB

README.md

File metadata and controls

77 lines (47 loc) · 1.01 KB

Multiple OIDC sessions

Based on next-auth concept, the Auth application for managing multiple OIDC sessions.

Flows

Authentication

authentication.png

Authorization

authorization.png

End session

end_session.png

Commands

Pre-Dev 🙌

Install Task

brew install go-task/tap/go-task

Get all tasks

task

Install packages

yarn install

Add hosts to /etc/hosts

echo "127.0.0.1 app.example.local auth.example.local" | sudo tee -a /etc/hosts > /dev/null

Generate New SSL certificates (Optional)

cd nginx

./openssl.sh

Trust the certificates (MacOS)

cd nginx

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain localhost.crt

Start containers 🚀

task up

Dev 👉

task dev

Deploy

Setup AWS EC2