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
While one can currently set HTTP headers for authentication, some GraphQL servers expect authentication information for subscriptions to be part of the connection_init message.
Conceptually I think that this is correct, too: the websocket logic should be able to stand on its own and not be tied to the surrounding HTTP transport.
It would be great if Insomnia would support adding authentication information to connection_init instead of HTTP headers, too.
Similar discussion at Postman: postmanlabs/postman-app-support#13278 - from the comment I gather that Altair does support this feature, I haven't tried it yet, though.
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
Uh oh!
There was an error while loading. Please reload this page.
-
While one can currently set HTTP headers for authentication, some GraphQL servers expect authentication information for subscriptions to be part of the
connection_init
message.Conceptually I think that this is correct, too: the websocket logic should be able to stand on its own and not be tied to the surrounding HTTP transport.
It would be great if Insomnia would support adding authentication information to
connection_init
instead of HTTP headers, too.Similar discussion at Postman: postmanlabs/postman-app-support#13278 - from the comment I gather that Altair does support this feature, I haven't tried it yet, though.
Beta Was this translation helpful? Give feedback.
All reactions