Pricing Blog

Session Cookie / Authtoken Problem

  • francomelanieh-1326857504315150398

    Nico

    11 months ago

    Hey guys, i have a strange problem. I get my auth-token from the xano endpoint and iam trying to save it in toddle for later auth on other pages.

    But it doesent work, cookie doesent get set. So i looked into network tab and it shows me this error:

    This attempt to set a cookie via a 'Set-Cookie' header was blocked because the cookie had the attribute 'SameSite=Lax' but came from a cross-site response that was not the result of a top-level navigation.

    does anyone know this problem?
    1326857504684118016-Bildschirmfoto_2025-01-09_um_11.17.41.png
    1
  • francomelanieh-1326860485986877453

    Nico

    11 months ago

    oh okay i think the ai pushed me in the right direction. The problem was i havent installed the toddle chrome plugin! I just followed the toddle youtube video on auth and i believe it wasnt mentioned there?
  • matt_apollodev-1327177662967451759

    Matthieu B.

    11 months ago

    that's right.
    If I'm right, the chrome extension is only to be able to play in preview mode, but you won't need it when it's live