Skip to content

Added the action graphql_jwt_auth_before_authenticate and the filter …#135

Merged
jasonbahl merged 1 commit intowp-graphql:developfrom
spiralni:develop
Apr 15, 2022
Merged

Added the action graphql_jwt_auth_before_authenticate and the filter …#135
jasonbahl merged 1 commit intowp-graphql:developfrom
spiralni:develop

Conversation

@spiralni
Copy link
Copy Markdown

@spiralni spiralni commented May 9, 2021

…graphql_jwt_auth_after_authenticate to hook before and after the authentication process

Usage examples:

action: graphql_jwt_auth_before_authenticate
I want to validate that a user has certain capability to login using graphql, e.g 'can_use_app' capability

filter: graphql_jwt_auth_after_authenticate
I want to pass more info in the response payload

…graphql_jwt_auth_after_authenticate to hook before and after the authentication process
@jasonbahl jasonbahl merged commit 38ed240 into wp-graphql:develop Apr 15, 2022
@jasonbahl jasonbahl self-assigned this Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants