Did the method of logging a user out change?

  • /attachments/1472943124996423930/1472943125965312122/image.png

    Devon MacDougall

    9 days ago

    I'm using "/.toddle/logout" which was working properly for months but now it's just refreshing the page and leaving the user logged in.

    On refresh, the URL show's ".../.toddle/logout" but users aren't logged out.

    Any help would be appreciated
    image.png
  • Tod

    9 days ago

    Great job @Devon MacDougall! Your contribution to the Nordcraft Community just made you advance to Community Level 1! 🌲
  • Erik Beuschau

    9 days ago

    I'm looking into it 👍
  • Devon MacDougall

    9 days ago

    Thanks!
  • Erik Beuschau

    9 days ago

    The endpoint should work again now. Sorry about that. It was accidentally flagged as an internal endpoint that we believed we could remove.
  • Devon MacDougall

    9 days ago

    Perfect, thank you
  • Leon Marseglia

    5 days ago

    wait this is a way of logging out users??? i did not know this
  • Erik Beuschau

    5 days ago

    It's a bit of a hidden endpoint 😉 I would recommend you use the builtin action for clearing a cookie instead since it's more flexible. Just set the expiration time to 0 https://docs.nordcraft.com/references/actions#set-httponly-cookie

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.