Skip to main content

Create a Logout Link or Button in Webflow

Josh Lopez
Josh Lopez

Add a link or button element with the data attribute: data-ms-action="logout".

That’s it!

Now members can log out of your site! 

Was this article helpful?

Didn’t find your answer?

Get an instant answer from Rey, or reach a human. Either way, we’re happy to help.

Comments

12 comments

  • Jasontopia
    Jasontopia

    Not able to logout with this setting

    0
  • Josh Lopez
    Josh Lopez Author

    Hey Jasontopia

    I looked at your website and I was able to logout without any errors. Can you share a loom video with the developer console open please?

    0
  • Paul Baranowski
    Paul Baranowski

    Hey, I've also had the same problem. Logging in works fine, but logging out isn't working. 

    0
  • Josh Lopez
    Josh Lopez Author

    Hey Paul Baranowski

    Can you provide me with your url or app id so i can take a look?

    0
  • Regionalne Doba
    Regionalne Doba

    Can anyone help me with logging out in my page?? pls

     https://preview.webflow.com/preview/regionalneprodukty?utm_medium=preview_link&utm_source=designer&utm_content=regionalneprodukty&preview=6e3184effd728ca3cdcbcf38b400909e&pageId=657ca6ca84d2825b6f9b95b8&workflow=preview

    0
  • Josh Lopez
    Josh Lopez Author

    Hey Regionalne Doba

    Can you provide a url to the site instead of webflow please? I cant auto translate with the link you provided. 

    0
  • Regionalne Doba
    Regionalne Doba

    https://regionalneprodukty.webflow.io/

    0
  • Josh Lopez
    Josh Lopez Author

    Regionalne Doba

    I wasnt able to signup because the signup form isnt for Memberstack so i made a member in the dashboard. I then logged in and clicked on the logout button and was logged out successfully.
    https://www.loom.com/share/787b6e2e07d74820abf10aafd523f429

    0
  • Axel Zouebi
    Axel Zouebi

    not working too

    0
  • Josh Lopez
    Josh Lopez Author

    Hey Axel Zouebi

    Can you provide more information so we can try and help get everything working correctly? A url to the site and a video with the developer console open may help the best!

    0
  • Axel Zouebi
    Axel Zouebi Edited

    Hey Josh Lopez

    I have opened a ticket about that with these information : https://docs.memberstack.com/hc/en-us/requests/10574?page=1

    Tel me if you can get access to it

    A lot of data attributes are broken today for me.

    0
  • George Watson
    George Watson

    Hi, please publish a Wordpress version of this article, thanks

    0

Please sign in to leave a comment.

Sitemap