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

feat: tolerate initial JWK error #1475

Merged
merged 7 commits into from
Dec 23, 2024
Merged

Conversation

StarpTech
Copy link
Contributor

@StarpTech StarpTech commented Dec 23, 2024

Motivation and Context

It can't be always guaranteed that the JWK server is up and ready when the router starts. This is in particular true when the JWK is served from a sidecar. This PR allows the initial JWK refresh to fail. All errors are logged.

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.

Copy link

github-actions bot commented Dec 23, 2024

Router image scan passed

✅ No security vulnerabilities found in image:

ghcr.io/wundergraph/cosmo/router:sha-f6f8118f14676b9564e51f0c337bc0e91bb8a2da

@StarpTech StarpTech merged commit 57e8507 into main Dec 23, 2024
12 checks passed
@StarpTech StarpTech deleted the dustin/tolerate-initial-jwt-error branch December 23, 2024 13:41
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.

2 participants