An open API service indexing awesome lists of open source software.

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

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)