Menu

1 / 5

Keycloak SSO for Gitea, Open WebUI and Miniflux on Kubernetes

DEV Community: kubernetes·Moep90·4 days ago
#cUx6cZPk
#devtokubernetes#devto#dev#recipes#class
Long article (2806 words) — no AI summary yet.
Reading 0:00
15s threshold

Every self-hosted app comes with its own accounts. Single sign-on moves

them to one identity provider. The app sends the browser there to log in

and gets back a token that names the user. Keycloak is such a provider,

and Gitea, Open WebUI and Miniflux can all use it through OpenID Connect

(OIDC).

Each app that uses Keycloak is a client of it, and each client exists

twice. Keycloak holds a client ID, the redirect URIs it will send a

browser back to, and a client secret. The app holds the same client ID,

the same redirect URI, the same secret and the URL of Keycloak, the

issuer. When one side changes and the other does not, the login breaks.

This post keeps both sides in one Kapitan

class . The project is

sso-keycloak

in kadet-hub/examples. Its check script deploys Keycloak and the apps

to a new kind cluster on every change and once a

week. It then logs in with curl as a browser would, and fails when a

step below stops working.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.