wp-graphql / wp-graphql-jwt-authentication

Authentication for WPGraphQL using JWT (JSON Web Tokens)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does the plugin provide a mutation for the logout?

szvest opened this issue · comments

I would like to know if there is a mutation for the logout. Thanks.

You can remove the authToken from localStorage (or Cookie/whatever storage you are using) and you should log out automatically.