You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a usecase where I have two GraphQL servers and I want to use federation to combine them. However both of them require different Authorization tokens. Can we perform authentication for both servers at the gateway level?
For example, GraqhQL Server 1 uses Authorization token A and GraphQL Server 2 uses Authorization Token B.
At the Gateway level we authenticate using token A, and if it succeeds we want to pass in the respective tokens to the servers(A to server 1 and B to server 2). Is something like this possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have a usecase where I have two GraphQL servers and I want to use federation to combine them. However both of them require different Authorization tokens. Can we perform authentication for both servers at the gateway level?
For example, GraqhQL Server 1 uses Authorization token A and GraphQL Server 2 uses Authorization Token B.
At the Gateway level we authenticate using token A, and if it succeeds we want to pass in the respective tokens to the servers(A to server 1 and B to server 2). Is something like this possible?
Beta Was this translation helpful? Give feedback.
All reactions