Skip to content

Generic OIDC client with discovery#3616

Merged
isTravis merged 3 commits into
tr/kf-authfrom
tr/oidc-refactor
May 20, 2026
Merged

Generic OIDC client with discovery#3616
isTravis merged 3 commits into
tr/kf-authfrom
tr/oidc-refactor

Conversation

@isTravis
Copy link
Copy Markdown
Member

Makes the existing kf-auth integration provider-agnostic via OIDC discovery.

  • Add server/kf/oidc.server.ts — discovery-based OIDC client (fetches .well-known/openid-configuration, PKCE with S256, initOidc() at startup)
  • Refactor server/kf/auth.ts — replace hardcoded endpoint paths with discovered URLs, thin down to re-export shim
  • Wire initOidc() into server/server.ts startup
  • Minor fix in server/kf/api.ts
  • Re-encrypt env files with new var names

@isTravis isTravis merged commit b65cf1c into tr/kf-auth May 20, 2026
@isTravis isTravis deleted the tr/oidc-refactor branch May 20, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant