Skip to content

Bearer Token Authentication on Graphql crashes child resolvers. #1

@jrosseel

Description

@jrosseel

Authentication/authorisation for graphql on the backend is failing.

Token based authorisation works well with graphql for single level resolvers. Once we have child resolvers, for each child resolver we get the error:

image

Apollo seems to try to apply the guard to each of its children, rather than only on root level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions