You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I have an encountered an issue when I was trying to fetch the currently logged in user through the viewer query.
I have Polylang v2.8.4, WP GraphQL Polylang v0.5.0 enabled. My authentication plugin is WPGraphQL JWT Authentication v0.4.1.
Steps to reproduce:
Log in through mutation query. Get back jwt token. No issue here at all.
Pass jwt token as Bearer in authentication header for the viewer query. The query looks like this:
query getViewerCollections {
viewer {
name
email
}
}
The server response is 403 forbidden and:
{
"data": {
"viewer": null
}
}
When I disable the WP GraphQL Polylang plugin then everything works as intended.
Any ideas on why this might happen?
The text was updated successfully, but these errors were encountered:
Hi!
I have an encountered an issue when I was trying to fetch the currently logged in user through the
viewer
query.I have Polylang v2.8.4, WP GraphQL Polylang v0.5.0 enabled. My authentication plugin is WPGraphQL JWT Authentication v0.4.1.
Steps to reproduce:
viewer
query. The query looks like this:The server response is 403 forbidden and:
When I disable the WP GraphQL Polylang plugin then everything works as intended.
Any ideas on why this might happen?
The text was updated successfully, but these errors were encountered: