How to authenticate in a GraphQL playground

766 views Asked by At

I'm working for someone and writing GraphQL queries in GraphQL playground for them. I'm new to GraphQL and have just learned writing queries.

Suddenly they put authentication in GraphQL playground. And sent me a text which goes something like this.

Hey Engineering,

I have updated the code with authentication on the GraphQL Server.

Kindly generate a valid JWT token to work on the system.

JWT_SECRET=8yz5twkIonm3XPZZfNolpKl3z9FMdmpgXwo5a9fp6rD8IodRM8EPHAB6iHsc0fb

I have lost my access to playground because of that I can't continue my work. I contacted them to obtain a guide for authentication. But no use. And I don't know how to use that JWT Secret to get access.

0

There are 0 answers