Skip to content

Can I be in charge of verifying JWT, no setting of PGRST_JWT_SECRET (jwt-secret)? #2725

Answered by wolfgangwalther
dnk8n asked this question in Q&A
Discussion options

You must be logged in to vote

Hm. Maybe it's already possible to do this right now. You can set the JWKS via in-database-configuration. That means you can update it at will as well and then trigger a config reload for PostgREST. So a simple function to load the keys from the external source and do just that, which is then run periodically via pg_cron, could work?

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@wolfgangwalther
Comment options

Answer selected by wolfgangwalther
@dnk8n
Comment options

@wolfgangwalther
Comment options

@dnk8n
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants