Skip to content

Is there example of making query with received JWT token? #14

@wolendranh

Description

@wolendranh

Hi!
In REDME there is no example or explanation how, after receiving JWT token, further requests should be authenticated.
In other repo https://django-graphql-jwt.domake.io/en/stable/authentication.html#http-header
there is example with providing header to each request with token:

POST / HTTP/1.1
Host: domake.io
Authorization: JWT <token>
Content-Type: application/json;

Is it possible to do with current package?

Also I am curious if it is possible to mix generation of token part from this repo with access decorators from django-graphql-jwt

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