-
Notifications
You must be signed in to change notification settings - Fork 167
[DX-2105 / TT-15380] Enhanced JWKS caching #7000
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
Conversation
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
{{< note success >}} Tyk Classic APIs continue to use the existing JWKS caching behavior with the 240-second default timeout. The enhanced caching features are available only for Tyk OAS APIs. JWKS Cache ManagementNew Gateway API endpoints are available from Tyk 5.10.0 to manage JWKS caches programmatically. These endpoints work for both Tyk OAS and Tyk Classic APIs:
Note: These endpoints are currently available only through the Tyk Gateway API and are not yet extended to the Tyk Dashboard API. Example usage: # Flush all JWKS caches
curl -X DELETE http://your-gateway:8080/tyk/cache/jwks \
-H "x-tyk-authorization: your-secret"
# Flush JWKS cache for specific API
curl -X DELETE http://your-gateway:8080/tyk/cache/jwks/your-api-id \
-H "x-tyk-authorization: your-secret" Feature Compatibility Summary
Configuration Options
{{< note success >}} Tyk Classic APIs continue to use the existing JWKS caching behavior with the 240-second default timeout. The enhanced caching features are available only for Tyk OAS APIs.
|
PR Code Suggestions ✨No code suggestions found for the PR. |
✅ PS. Add to the end of url /docs/nightly
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ PS. Add to the end of url /docs/nightly
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should avoid using H5 & H6 headers. This makes the right side navigation nested.
We need to split this page and rearrange the sections in the right-side navigation.
* add docs for CertificateExpiringSoon and CertificateExpired events (#6960) * [DX-2105 / TT-15380] Enhanced JWKS caching (#7000) * [TT-15401] added external services configuration info (#6900) --------- Co-authored-by: Patric Vormstein <[email protected]> Co-authored-by: andyo-tyk <[email protected]> Co-authored-by: andrei-tyk <[email protected]> Co-authored-by: Leonid Bugaev <[email protected]>
* add docs for CertificateExpiringSoon and CertificateExpired events (#6960) * [DX-2105 / TT-15380] Enhanced JWKS caching (#7000) * [TT-15401] added external services configuration info (#6900) --------- Co-authored-by: Patric Vormstein <[email protected]> Co-authored-by: andyo-tyk <[email protected]> Co-authored-by: andrei-tyk <[email protected]> Co-authored-by: Leonid Bugaev <[email protected]> (cherry picked from commit c275e1e)
Docs for 5.10 (#7051) * add docs for CertificateExpiringSoon and CertificateExpired events (#6960) * [DX-2105 / TT-15380] Enhanced JWKS caching (#7000) * [TT-15401] added external services configuration info (#6900) --------- Co-authored-by: Patric Vormstein <[email protected]> Co-authored-by: andyo-tyk <[email protected]> Co-authored-by: andrei-tyk <[email protected]> Co-authored-by: Leonid Bugaev <[email protected]> (cherry picked from commit c275e1e) Co-authored-by: Master <[email protected]>
User description
Added explanation of new enhanced JWKS caching feature:
Contributor checklist
New Contributors
master
PR Type
Documentation
Description
Add enhanced JWKS caching docs for OAS
Explain single vs multiple JWKS endpoints
Document cache management API endpoints
Clarify config fields and Classic differences
Diagram Walkthrough
File Walkthrough
client-authentication.md
Minor link wording correction to JWT docs
tyk-docs/content/api-management/client-authentication.md
json-web-tokens.md
Add enhanced JWKS caching and JWKS configuration details
tyk-docs/content/basic-config-and-security/security/authentication-authorization/json-web-tokens.md
source
/jwt_source
)