Jump to content

Prestashop API - cant log in


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? 

Link to comment
Share on other sites

  • 4 weeks later...

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...