Skip to content

feat(oidc)!: migrate OIDC to explicit exchange#47

Merged
jmgilman merged 1 commit into
masterfrom
session-025/oidc-exchange-testkit
May 14, 2026
Merged

feat(oidc)!: migrate OIDC to explicit exchange#47
jmgilman merged 1 commit into
masterfrom
session-025/oidc-exchange-testkit

Conversation

@jmgilman
Copy link
Copy Markdown
Contributor

Summary

  • verify OIDC JWTs as external proof and exchange verified identities for authkit access JWTs
  • remove the old protected-route identity authenticator runtime path
  • make testkit the canonical validation app for API-token and OIDC exchange

Breaking change

Protected resource pipelines no longer accept authkit.Authenticator identity authenticators, PipelineOptions.Authenticators, PipelineOptions.Resolver, compose.OIDC, or compose.Existing. Resource routes should authenticate authkit access JWTs through principal authenticators.

Validation

  • go test ./...
  • go test -count=1 -tags=integration ./store/postgres ./testkit/internal/store/postgres ./testkit/internal/authflow
  • moon run root:check --summary minimal
  • moon run docs:typecheck --summary minimal
  • moon run docs:build --summary minimal

Verify OIDC JWTs as external proof, exchange verified identities for authkit access JWTs, and keep protected-resource routes on principal authenticators only.

Replace the old notes example with testkit validation for API-token exchange, OIDC exchange, protected paste creation, and direct external token rejection.

BREAKING CHANGE: protected resource pipelines no longer accept authkit.Authenticator identity authenticators, PipelineOptions.Authenticators, PipelineOptions.Resolver, compose.OIDC, or compose.Existing.
@jmgilman jmgilman merged commit 86487bf into master May 14, 2026
2 checks passed
@jmgilman jmgilman deleted the session-025/oidc-exchange-testkit branch May 14, 2026 23:00
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