Skip to content

[Feat] graphiql - authentication token  #131

@akomm

Description

@akomm
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Version/Branch ^0.7.1

I want graphiql to send an authentication token to server. The package you use allows graphiql interface customization. For example you can add input fields into the toolbar.

Currently you use the default graphiql interface without any customization.

It would be convenient, if I could define the following configuration for an endpoint:

# app/config/config_dev.yml
# overblog_graphql.definitions.schema
authentication:
  # optionally namespaced by endpoint name specified in overblog_graphql.definitions.schema
  send_method: "header" # header, query-string, ...
  fields: # fields to send using specified method
    access-token: "myaccesstoken"

Currently you need to override/extend the default template, which is unsafe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions