Skip to main content

Hi,

I have my staging site under password protection. When I try to activate OAuth from Magento 2, I get the error “Klaviyo is unable to connect to Magento Server for OAuth Handshake. Please ensure that both /oauth/token/request and /oauth/token/access are accessible.

Of course the mentioned urls are not accessible because of password protection. How can I pass the username and password for this urls so it is accessible for Klaviyo without removing the password protection from my staging site.

I have set “Allow OAuth Access Tokens to be used as standalone Bearer tokens ” to “yes” under store->configuration->Service->OAuth->Consumer settings

 

I am using a test account on Klaviyo to test email templates.

Hi @SKK!

At this time, you will need to remove the password protection in order to active OAuth as the nature of OAuth will require access. If you temporarily remove the password protection, and then try, it should work.

 

Best,

Brian