Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with HCaptcha plugin #917

Open
Shazamepool opened this issue Feb 17, 2025 · 0 comments
Open

Incompatibility with HCaptcha plugin #917

Shazamepool opened this issue Feb 17, 2025 · 0 comments

Comments

@Shazamepool
Copy link

Describe the bug
Incompatibility with HCaptcha plugin. When HCaptcha is installed, woocommerce_tokens retrieved via a get customer with a bearer token in header are no longer linked to the logged-in user.

To Reproduce
Steps to reproduce the behavior:

  1. Install HCaptcha and activate the plugin
  2. Fetch a authToken
  3. Fetch a session token via customer / viewer or any other query

Header : 'Bearer': 'Your token'

query fetchToken {
  customer {
    id
    sessionToken
  }
}

Expected behavior
The recovered session token should contain the user's id as customer_id and not a session_id.

Plugin Versions

  • WooGraphQL Version: 0.21.1
  • WPGraphQL Version: 1.31.1
  • WordPress Version: 6.7.2
  • WooCommerce Version: 8.6.1
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

No branches or pull requests

1 participant