Token expiring instantly but works on page load?

  • charlie_84787-1353761749643300976

    Charlie

    1 month 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

    1 month ago

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

    Charlie

    1 month ago

    Managed to fix - deleted cookies and it seems to have been resolved 👍
    👍1