wp-graphql / wp-graphql-jwt-authentication

Authentication for WPGraphQL using JWT (JSON Web Tokens)
GNU General Public License v3.0
333 stars 73 forks source link

Login filters #134

Open spiralni opened 3 years ago

spiralni commented 3 years ago

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?

spiralni commented 3 years ago

Looks like a filter is missing here?

image

AlphaSquaredHub commented 3 weeks ago

@spiralni did you find a solution back then?