Skip to content

remote schema subscription proxy with auth #429

Answered by enisdenjo
greenreign asked this question in Q&A
Discussion options

You must be logged in to vote

If you need a different token for each execution, then the extensions field is the way to go. This would be the most effective, and spec compliant, approach of connecting a token to an operation.

If my understanding is not flawed, this is exactly what the middlewares do in subscriptions-transport-ws, they inject/modify the operation execution parameters (see here).

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by greenreign
Comment options

You must be logged in to vote
0 replies
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