embeddable-explorer icon indicating copy to clipboard operation
embeddable-explorer copied to clipboard

Graphql Subscription connectionParams

Open georgesofianosgr opened this issue 2 years ago • 2 comments

Reading the documentation I cannot find a way to pass connectionParams in subscriptions.

We use connectionParams for authorization. Did I miss something or there is no way to pass connectionParams ?

georgesofianosgr avatar Oct 27 '23 07:10 georgesofianosgr

Hi! Apologies for the delay in response. Are you looking to pass headers? If you are - you can do that with the headers option.

If you are looking to set these on an Embedded Explorer, you can do that from the shared headers in the connection settings on your graph as well.

mayakoneval avatar Nov 20 '23 17:11 mayakoneval

Same question, when I open Connection settings these aren't editable. I'd like to somehow be able to configure that Subscription Endpoint string

image

vindard avatar Dec 20 '23 18:12 vindard

Hi - you can pass initialSubscriptionEndpoint to your EmbeddedSandbox instance to configure the subscription endpoint, thank you!

mayakoneval avatar May 29 '24 20:05 mayakoneval