https://github.com/matmoore/dummy-auth-app
A minimal application that demonstrates integrating with a keycloak authentication server
https://github.com/matmoore/dummy-auth-app
Last synced: about 1 year ago
JSON representation
A minimal application that demonstrates integrating with a keycloak authentication server
- Host: GitHub
- URL: https://github.com/matmoore/dummy-auth-app
- Owner: MatMoore
- License: mit
- Created: 2023-04-18T16:47:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-19T15:03:22.000Z (about 3 years ago)
- Last Synced: 2025-02-08T13:09:40.243Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://dummy-auth-app.fly.dev/
- Size: 894 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dummy auth app
This app demonstrates integrating an app with Keycloak using OpenID Connect.
## Deploying
### In fly.io
Set `CLIENT_SECRET` environment variable:
```
flyctl secrets set CLIENT_SECRET=***
```
### In keycloak
Create a new client. Most settings can be left as defaults.
- Set redirect URL to `/callback`
- Set root URL to whatever the deployment URL is, e.g. `https://***.fly.dev`
- Enable [implicit flow](https://auth0.com/docs/get-started/authentication-and-authorization-flow/implicit-flow-with-form-post)