Skip to content

Support file scheme for JWT key provider#9590

Open
simvlad wants to merge 1 commit intotemporalio:mainfrom
simvlad:simvlad/local-jwt-key-provider
Open

Support file scheme for JWT key provider#9590
simvlad wants to merge 1 commit intotemporalio:mainfrom
simvlad:simvlad/local-jwt-key-provider

Conversation

@simvlad
Copy link
Copy Markdown
Contributor

@simvlad simvlad commented Mar 19, 2026

What changed?

Add file:// URI support to jwtKeyProvider.keySourceURIs, so JWKS can be loaded directly from disk without running an HTTP server.

Why?

Easier to test JWT key provider locally, when you don't need to spin up a sidecar HTTP server.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

Potential risks

Safe, as this is an additive change and http.Get would have failed on file:// schema with unsupported protocol scheme "file".

@simvlad simvlad requested review from a team as code owners March 19, 2026 19:26
@simvlad simvlad requested a review from picatz March 19, 2026 19:27
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ee1d9968d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@simvlad simvlad force-pushed the simvlad/local-jwt-key-provider branch from 9ee1d99 to c14e43c Compare March 19, 2026 19:38
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