https://github.com/jonaskello/oidc-login-simple
Simple example for logging in with OIDC
https://github.com/jonaskello/oidc-login-simple
Last synced: 10 months ago
JSON representation
Simple example for logging in with OIDC
- Host: GitHub
- URL: https://github.com/jonaskello/oidc-login-simple
- Owner: jonaskello
- Created: 2024-03-11T06:55:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-11T06:58:10.000Z (about 2 years ago)
- Last Synced: 2024-10-06T02:21:23.761Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# oidc-login-simple
Simple example how to login with OIDC
# How to run
Setup a `.env` file in the root with these variables:
```sh
CLIENT_ID=myapp
CLIENT_SECRET=thesecret
ISSUER_URL=https://the.url.of.issuer
```
Then run
```sh
pnpm start
```
And then navigate to http://localhost:3000