Token expiring instantly but works on page load?

  • charlie_84787-1353761749643300976

    Charlie

    2 days ago

    I keep getting an error that my token has expired but it doesn't really make sense - I hide and show a button depending on whether the user is logged in which happens on page load. Then when I click to create an item (maybe 15 seconds later) it is showing the error "This token is expired" (I'm using Xano for the authentication). When I reload the page its completely fine and the current token works but the moment I try and get any authenticated endpoints after this it comes up with that error. Any ideas on what is causing this??
  • Tod-1353761751795241112

    Tod

    2 days ago

    Great energy @Charlie! Your continuous contribution to the toddle Community just made you advance to Community Level 1!
  • charlie_84787-1353786895410135091

    Charlie

    2 days ago

    Managed to fix - deleted cookies and it seems to have been resolved πŸ‘
    πŸ‘1

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.