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
{{ message }}
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
Hi All.
I use graphiql-spring-boot-starter to embed GraphiQL to my Spring Boot server. To authenticate queries and mutations i have added authorization header to configuration parameters:
headers:
Authorization: "Bearer <your-token>"
It works well for queries and mutations but doesn't work for subscriptions. Is there any way to configure authToken for GraphIQL subscriptions?
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 All.
I use graphiql-spring-boot-starter to embed GraphiQL to my Spring Boot server. To authenticate queries and mutations i have added authorization header to configuration parameters:
It works well for queries and mutations but doesn't work for subscriptions. Is there any way to configure authToken for GraphIQL subscriptions?
Beta Was this translation helpful? Give feedback.
All reactions