Skip to content

feat(authkit): add JWT-first access token flow#45

Merged
jmgilman merged 6 commits into
masterfrom
session-024/access-jwt
May 14, 2026
Merged

feat(authkit): add JWT-first access token flow#45
jmgilman merged 6 commits into
masterfrom
session-024/access-jwt

Conversation

@jmgilman
Copy link
Copy Markdown
Contributor

Summary

  • add an authkit-owned access JWT issuer/verifier package
  • add JWT-first protected-resource authentication that resolves principals from access JWTs
  • add API-token-to-access-JWT exchange and remove runtime API-token authentication
  • update notes example, tests, and docs for the exchange-first shape

Validation

  • go test ./...
  • moon run root:check --summary minimal
  • git diff --check

Notes

  • This intentionally removes apikey.NewAuthenticator, Service.VerifyToken, and compose.APIToken because authkit is still pre-stable and API tokens are now exchange credentials only.
  • OIDC remains on the temporary identity-based path for a follow-up exchange slice.

@jmgilman jmgilman marked this pull request as ready for review May 14, 2026 16:57
@jmgilman jmgilman merged commit 8e15d75 into master May 14, 2026
2 checks passed
@jmgilman jmgilman deleted the session-024/access-jwt branch May 14, 2026 16:58
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