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
The GraphiQL currently provides a prop shouldPersistHeaders that implementors can use to decide if header values should be persisted in localStorage. By default, no headers are persisted as a security measure (header values often times contain sensitive tokens). This defaults leads to many GraphiQL implementations that are not persisting headers.
As a GraphiQL user I would like to override this setting. I want to be able to choose if I want my headers to be persisted or not.
Proposal: Add a section to the settings dialog where users can override the default behavior of the GraphiQL implementation around persisting headers. This setting should only have effect if the shouldPersistHeaders prop is not set, or in other words, the GraphiQL implementation should still be able to explicitly enforce a choice about persisting headers and GraphiQL users can only choose their preference if the implementation is not explicit about this setting.
The text was updated successfully, but these errors were encountered:
The
GraphiQL
currently provides a propshouldPersistHeaders
that implementors can use to decide if header values should be persisted inlocalStorage
. By default, no headers are persisted as a security measure (header values often times contain sensitive tokens). This defaults leads to many GraphiQL implementations that are not persisting headers.As a GraphiQL user I would like to override this setting. I want to be able to choose if I want my headers to be persisted or not.
Proposal: Add a section to the settings dialog where users can override the default behavior of the GraphiQL implementation around persisting headers. This setting should only have effect if the
shouldPersistHeaders
prop is not set, or in other words, the GraphiQL implementation should still be able to explicitly enforce a choice about persisting headers and GraphiQL users can only choose their preference if the implementation is not explicit about this setting.The text was updated successfully, but these errors were encountered: