Skip to content

It does not support Django Rest Framework token authentication backend #476

@mohamedrez

Description

@mohamedrez

when I try to access info.context.user it all the time returns anonymous user, my same code works fine with django-graphql-jwt

Debugging gives me this :

-> return self.middleware
(Pdb) self.middleware
[<graphene_django.debug.middleware.DjangoDebugMiddleware object at 0x7fb93ac8d590>]
(Pdb)

Means that no auth middleware has been set to the graphql view

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions