PricingBlog

Did the method of logging a user out change?

  • devonmacdougall-1472943124996423930

    Devon MacDougall

    25 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
    1472943125965312122-image.png
  • Tod-1472943127563341888

    Tod

    25 days ago

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

    Erik Beuschau

    25 days ago

    I'm looking into it 👍
  • devonmacdougall-1472943736261447884

    Devon MacDougall

    25 days ago

    Thanks!
  • erikbeus-1472947082879963228

    Erik Beuschau

    25 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.
  • devonmacdougall-1472947708389101653

    Devon MacDougall

    25 days ago

    Perfect, thank you
  • leonmarseglia-1474312277338488964

    Leon Marseglia

    21 days ago

    wait this is a way of logging out users??? i did not know this
  • erikbeus-1474313053754491031

    Erik Beuschau

    21 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
  • leonmarseglia-1476688844324606013

    Leon Marseglia

    15 days ago

    Just seen this! Thanks @Erik Beuschau !
    🙌1