Skip to content
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

refactor(router): redesign JWK authentication logic #1498

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Noroth
Copy link
Contributor

@Noroth Noroth commented Jan 8, 2025

Motivation and Context

Checklist

  • I have discussed my proposed changes in an issue and have received approval to proceed.
  • I have followed the coding standards of the project.
  • Tests or benchmarks have been added or updated.
  • Documentation has been updated on https://github.com/wundergraph/cosmo-docs.
  • I have read the Contributors Guide.

@github-actions github-actions bot added the router label Jan 8, 2025
Copy link

github-actions bot commented Jan 9, 2025

Router image scan passed

✅ No security vulnerabilities found in image:

ghcr.io/wundergraph/cosmo/router:sha-67cb23976cf263efac2ef1b909b5d639bec06219

Comment on lines +408 to +411
type HeaderSource struct {
Type string `yaml:"type"`
Name string `yaml:"name"`
ValuePrefix string `yaml:"value_prefix"`
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code allows to specify multiple HeaderSources with the same name and a different value prefix. Maybe we could also make this a list of value prefixes if someone decides that they want to have multiple options for prefixes

@Noroth Noroth force-pushed the ludwig/eng-6230-redesign-jwk-authentication-logic branch from cc46adb to eadd615 Compare January 14, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant