N
Neon2mo ago
provincial-silver

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
2 Replies
like-gold
like-gold2mo 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....
provincial-silver
provincial-silverOP2mo ago
Thanks Sam, much appreciated!

Did you find this page helpful?