A simple OpenID Connect client to visualize your user tokens and claims. It allows you to provide OIDC-compatible IdP connection settings to fetch a user token. It can be used to visualize, explore and investigation your authorization flow.
⚠ This should not be used on a publicly exposed server or as a production OIDC client. This is meant to be used as a locally self-hosted tool for development purpose.
- Supports the following authentication methods:
-
authorization_codewith Proof Key for Code Exchange (PKCE). -
client_credentials
-
This assumes that you are using the default settings provided in the repository.
- (Optional) Install root CA from mkcert:
mkcert --install- Create certificates using mkcert:
mkcert --cert-file ./deploy/certs/localhost.crt \
--key-file ./deploy/certs/localhost.key \
localhost 127.0.0.1 ::1 "oidc.localhost"- Copy
presets.env.sampletopresets.envand set your own presets. - Run
docker compose up -d - Open https://oidc.localhost
The DataProtection-Keys directory is mounted to re-use the same keys across container restarts. As mentioned, this is only for development purpose thus keys are persisted in plain text and should not be considered secure.
services:
oidc-viewer:
image: mistcentauri/oidc-viewer:latest
container_name: oidc-viewer
restart: unless-stopped
env_file: "presets.env"
volumes:
- aspnet_keys:/home/app/.aspnet/DataProtection-Keys
ports:
- "8080:8080"
volumes:
aspnet_keys:This is the setup provided as a default with the repository
- Caddyfile
<name>.localhost {
reverse_proxy oidc-viewer:8080
}- docker-compose.yaml
services:
caddy:
image: docker.io/library/caddy:latest
container_name: caddy
restart: unless-stopped
cap_add:
- NET_ADMIN
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
- caddy_config:/config
oidc-viewer:
image: mistcentauri/oidc-viewer:latest
container_name: oidc-viewer
restart: unless-stopped
env_file: "presets.env"
volumes:
- aspnet_keys:/home/app/.aspnet/DataProtection-Keys
ports:
- "8080"
volumes:
caddy_data:
caddy_config:
aspnet_keys:Build the Docker image locally using the following command:
dotnet publish --os linux --arch x64 /t:PublishContainer ./srcOIDC Viewer is MIT licensed. See the LICENSE file for details.

