mockidp

command
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Command mockidp is a demo OIDC issuer standing in for Okta/Entra/Keycloak: it serves discovery + JWKS and mints signed JWTs at GET /token. DEMO ONLY: /token hands a token to anyone. halo-kong / halo-proxy verify these tokens exactly as they would a real IdP's, so client-supplied headers never matter.

curl 'localhost:8081/token?user=alice@acme.com&groups=ai-platform,eng'

It also serves an interactive authorization-code login for halo-server's console (make demo): GET /authorize without user= shows a demo-user picker; with user= it auto-approves that user. PUBLIC_URL, when set, is the browser-facing base advertised as authorization_endpoint, while the issuer, token and JWKS endpoints stay on ISSUER (the in-network name).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL