wp-graphql / wp-graphql-jwt-authentication

Authentication for WPGraphQL using JWT (JSON Web Tokens)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handling authToken Related Question

terkinas opened this issue · comments

I'm using NextJS to render my front end, I have manually generated authToken and used that in my request header of queries, but as docs says, after 300 seconds my authToken expired. So is there any better way so that only my project has access to gql endpoint or I should modify expiration time in this case? If so I couldn't figure out in what file I should put those filters?