wp-graphql / wp-graphql-jwt-authentication

Authentication for WPGraphQL using JWT (JSON Web Tokens)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login filters

spiralni opened this issue · comments

Hi guys,

I need to be able to allow/deny users that logins via graphql by role.
For exampl.e I just allow users with role 'curstomer' to login using an app.

Is there any filter I can use in this case?

Looks like a filter is missing here?

image