N
Neon15h ago
passive-yellow

Separate Authentication providers / JWKS urls for branches

We are using Stytch for Auth and Neon RLS for our database. Now it seems we can only set a single JWK issuer per project. Is it possible to set multiple based on different branches. For example; a development JWK URL and a production JWK URL? Thanks, Chris
1 Reply
other-emerald
other-emerald15h ago
Hey! Usin the Neon API you can add multple JWKS urls and scope them to different branches. These docs might be useful to you : https://api-docs.neon.tech/reference/addprojectjwks
Neon
Add JWKS URL
Add a new JWKS URL to a project, such that it can be used for verifying JWTs used as the authentication mechanism for the specified project. The URL must be a valid HTTPS URL that returns a JSON Web Key Set. The provider_name field allows you to specify which authentication provider you're using (e....

Did you find this page helpful?