Skip to content

Support for OIDC Token Exchange flow #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

jefeish
Copy link

@jefeish jefeish commented Apr 9, 2025

  • added OIDC support
  • added pino for log-level support

Sample Execution

LOG_LEVEL=info npm run dev 

Note: debug level provides request & JWT data

Log sample:

[23:40:47.057] INFO (40622): Received token exchange request at endpoint '/exchange' (OIDC flow)
[23:40:47.057] INFO (40622): Fetching signing key for token verification ('https://github.com/login/oauth/.well-known/jwks.json')
[23:40:47.330] INFO (40622): Verifying token signature, using signing key
[23:40:47.332] INFO (40622): Validating JWT payload
[23:40:47.332] INFO (40622): JWT is valid
[23:40:47.332] INFO (40622): Token exchange successful

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.

3 participants