Bypass token validation #2161
Answered
by
wolfgangwalther
crisclacerda
asked this question in
Q&A
-
I am running postgrest behind an api gateway that already validates the token signature. |
Beta Was this translation helpful? Give feedback.
Answered by
wolfgangwalther
Feb 9, 2022
Replies: 2 comments 2 replies
-
Can you do one of the following?
or
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
crisclacerda
-
Great thanks for the help. I like the first solution and it works fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you do one of the following?
Authorization
header from the request in the gatewaydb-pre-request
function which will then set the role from the headeror
Authorization
header with another header with the same token, but a different signature at the api gatewayjwt-secret
to