Skip to content

Installing Duo Universal blocks Woocommerce /wp-json/wc/v3/ endpoint #63

Description

@zforsman

After installing the Duo Universal plugin, a major feature of a website no longer works because product data cannot be returned

Description

ajax requests to product endpoints return '<', "<!DOCTYPE "... is not valid JSON errors
this endpoint is being redirected to the login screen '/wp-json/wc/v3/products?category=' + id + '&consumer_key=' + consumer_key + '&consumer_secret=' + consumer_secret + '&orderby=title&order=asc',

Expected Behavior

Should return a list a products with a given category id

Actual Behavior

Returns the HTML of the login page instead of JSON product data

Steps to Reproduce

Visit a url like this https://example.com/wp-json/wc/v3/products?category=39&consumer_key=consumer_key_value&consumer_secret=consumer_secret_value and get redirected to the wordpress login page

Workarounds

Currently no workaround.

This seems like a major issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions