Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 days 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 (7 months ago)
- Default Branch: main
- Last Pushed: 2024-09-05T10:41:10.000Z (6 months ago)
- Last Synced: 2024-12-28T17:41:41.580Z (about 2 months 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 nginxsudo 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