Skip to content

✨ feat: add optional ID Token support#8

Merged
SebastienLaurent-CF merged 2 commits intomainfrom
feat/id-token
Mar 8, 2026
Merged

✨ feat: add optional ID Token support#8
SebastienLaurent-CF merged 2 commits intomainfrom
feat/id-token

Conversation

@SebastienLaurent-CF
Copy link
Copy Markdown
Contributor

  • Update configuration schema and Go structs to include idTokenKey
  • Support saving ID tokens to .env files when configured
  • Add --id-token flag to get command for direct output
  • Add --id-token flag to inspect command for decoding
  • Make ID token verification non-fatal to increase robustness
  • Add unit tests for config loading and OIDC token handling
  • Update README.md with new configuration options and flags

- Update configuration schema and Go structs to include idTokenKey
- Support saving ID tokens to .env files when configured
- Add --id-token flag to get command for direct output
- Add --id-token flag to inspect command for decoding
- Make ID token verification non-fatal to increase robustness
- Add unit tests for config loading and OIDC token handling
- Update README.md with new configuration options and flags
- Refactor `targets` schema to use `type` field instead of `idTokenKey`
- Update `inspect` command to intelligently resolve files and keys from the targets list
- Improve documentation for multiple target files and fix invalid examples in README
- Maintain backward compatibility for simple configuration via `tokenKey` and `idTokenKey`
@SebastienLaurent-CF SebastienLaurent-CF merged commit 80105a9 into main Mar 8, 2026
9 of 11 checks passed
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