https://github.com/quochuydev/next-multiple-oidc-sessions
Based on next-auth concept, the Auth application for managing multiple OIDC sessions.
https://github.com/quochuydev/next-multiple-oidc-sessions
authentication nextjs oidc session-management sso zitadel
Last synced: 4 months ago
JSON representation
Based on next-auth concept, the Auth application for managing multiple OIDC sessions.
- Host: GitHub
- URL: https://github.com/quochuydev/next-multiple-oidc-sessions
- Owner: quochuydev
- License: mit
- Created: 2024-08-09T12:07:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-05T10:41:10.000Z (over 1 year ago)
- Last Synced: 2024-12-28T17:41:41.580Z (over 1 year ago)
- Topics: authentication, nextjs, oidc, session-management, sso, zitadel
- Language: TypeScript
- Homepage: https://quochuydev.github.io/next-multiple-oidc-sessions/
- Size: 710 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multiple OIDC sessions
Based on next-auth concept, the Auth application for managing multiple OIDC sessions.
## Flows
### Authentication

### Authorization

### End session

## Commands
### Pre-Dev 🙌
#### Install [Task](https://taskfile.dev/#/installation)
```sh
brew install go-task/tap/go-task
```
#### Get all tasks
```sh
task
```
#### Install packages
```sh
yarn install
```
#### Add hosts to `/etc/hosts`
```sh
echo "127.0.0.1 app.example.local auth.example.local" | sudo tee -a /etc/hosts > /dev/null
```
#### Generate New SSL certificates (Optional)
```sh
cd nginx
./openssl.sh
```
#### Trust the certificates (MacOS)
```sh
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