Skip to content

Auth directive fails when excludeAddUserInContext is true #1158

@bmanturner

Description

@bmanturner

I would like to use @auth without having to make a trip to the db on each request.

My expected behavior:

context.userId would be populated by jwtData and the @auth directive would work when excludeAddUserInContext: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions