• Hey guys, good morning!

    I’m trying to authorize the download of the downloadable virtual products but it always redirects to the login screen with the error ‘You must be logged in to download files.’

    I am authenticating the users with JWT and have a valid token in the header, but WooCommerce disconsiderates the token.

    How can I get WooCommerce to consider the token and return the file to download?

    Best regards,

    Raphael Ramos

Viewing 1 replies (of 1 total)
  • Howdy ??

    WooCommerce doesn’t handle the authentication, that is all done by WordPress. You might want to post this in one of the more general WordPress help forums.

Viewing 1 replies (of 1 total)
  • The topic ‘Download file using header authentication’ is closed to new replies.