How can i use it in django projects and use it with django's jwt #1777
-
How can i use it in django projects and use it with django's jwt |
Beta Was this translation helpful? Give feedback.
Answered by
steve-chavez
Mar 25, 2021
Replies: 1 comment
-
Hey @hzjux001, PostgREST requirements for the JWT are:
So if django(or any other framework) produces the JWT, then it should share its secret with PostgREST plus construct the JWT with a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wolfgangwalther
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @hzjux001,
PostgREST requirements for the JWT are:
role
claim that maps to a PostgreSQL role(ref)So if django(or any other framework) produces the JWT, then it should share its secret with PostgREST plus construct the JWT with a
role
claim.