Jump to content

Recommended Posts

I saw there was talk about this topic and some solutions were found... but it seems none of them are working for me or my Prestashop version.

Im testing it on 1.7.6.7 version, configured webservice correctly, and when I try to log into /api (just key as username, password blank) it doesn't work. 

I tried to add this into .htaccess as it was suggested somewhere on the forum, and confirmed by my hosting provider... but still nothing.
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
RewriteRule ^api/.* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

And I tried all sorts of things I read around forums and webs, from regenerating htaccess files .. but it just dont wanna connect.

Does anyone know the solution for this?
Why does this happen? 

Share this post


Link to post
Share on other sites
  • 4 weeks later...

Hi Dear,

look at https://community.bitnami.com/t/prestashop-webservice-keeps-asking-for-authentication/42216.

You can add those entry before

# ~~start~~ Do not remove this comment

tag in .htaccess file to avoid prestashop rewrintg it.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More