Skip to content

[Security] Authenticate requests with user supplied token #7

@brett-fitz

Description

@brett-fitz

If deploying the server remotely, outside of perimeter network auth, you are limited on ensuring users are properly authenticated and authorized to use the wrapped GraphQL service since the auth token is set on server init.

One way to secure this would be to pass a supplied user auth token from the initial request to the GraphQL server.

Feature request:

  • Add a config option to supply a user defined header key to be used for authenticating GraphQL requests
  • If the auth token is not set and a user provides the header key to find the user token in the request, pass the user token when processing a request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions