Jump to content

Is token based login available for customer?


Recommended Posts

I want something like login via API. I pass username and password in login API of PrestaShop. If the user is authenticated it should give me a token in response. 

Next, I will pass this token in URL of PrestaShop to access the front panel and redirects user to Prestashop. Prestashop should identify the token from URL and it makes user login for rest of the pages.

I need above flow because whenever my user clicks on link user should redirect to Prestashop and he should also be autologin. 

How can it be possible? Or another better way for this requirement?

Link to comment
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...