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

add jwks endpoint key support to auth #511

Merged

Conversation

jairad26
Copy link
Contributor

@jairad26 jairad26 commented Oct 25, 2024

Description

This PR adds support for JWKS endpoints for authentication. this is supplied via MODUS_JWKS_ENDPOINTS env variable. This also refactors the auth to separate pem and jwks, since jwks must be refreshed to maintain up-to-date keys. The env var MODUS_JWKS_REFRESH_MINUTES is used to give users the ability to override in the future

Checklist

  • Code compiles correctly and linting passes locally
  • Tests for new functionality and regression tests for bug fixes added
  • Documentation added or updated
  • Entry added to the CHANGELOG.md file describing and linking to this PR

Thank you for your contribution to the Modus project!

@jairad26 jairad26 requested a review from a team as a code owner October 25, 2024 18:44
@jairad26 jairad26 marked this pull request as draft October 25, 2024 19:47
@jairad26 jairad26 marked this pull request as ready for review October 25, 2024 23:41
@jairad26 jairad26 merged commit 5f7a1a9 into main Oct 26, 2024
86 checks passed
@jairad26 jairad26 deleted the jai/hyp-2498-add-jwks-endpoint-support-to-auth-in-modus branch October 26, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants