How to pass several downstream graphql services' auth? #8762
-
Background Question I know maybe I can fill a fixed value for Authorization header (with the token) for each remote schema. But in this way, the user identity will always be the same because the fixed Authorization header always contains info of a fixed user. And the The question is how does the request carry 2 JWT tokens and pass them to coresponding backend graphql services? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi,
|
Beta Was this translation helpful? Give feedback.
Hi,
Authentication is handled outside of Hasura. Hasura delegates authentication and resolution of request headers into session variables to your authentication service (existing or new). Here is the doc that provides guidance on the different Authentication options: