Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2020, 12:30 PM
Laurens Swart's Avatar
Laurens Swart is offline
Junior Member
 
Join Date: Apr 2020
Posts: 1
Default

How can a user in my 'custom website' shop log out??


So I know there are like 100 topics on this.
Most of them however are from 2011-2014.
Some link to another topic with a "solution" but that topic has been removed.
(Yeah I checked about 200 hits on Google, all of them are the same: either no solution, or a link to a topic that cannot be found).

So here I am, asking this once more:

I know I can redirect people to a login page by doing

Code:
Ecwid.openPage('account/settings');
However, once a user has logged in (by generating a login link and clicking it - I don't see a way how a user can create an account with a password?), there is no way for them to log out again!

So what I need is an API call/method to make the user logout from their customer profile on ecwid.com (and to delete the cookies associated with this).

Is there an API method to do this?

By the way: I do not have SSO enabled since I'm a free user (for now).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:47 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.