Help forum

Need help with Toddle + Xano Authentication.

  • nikothekid

    1 year ago

    I have an issue when trying to access the auth/me endpoint from Xano, it is giving me an invalid token error. On the log in page, i have everything set up and once I test the login, i get an auth token which is then stored in the session cookie. Can anybody help me out on why am i getting this error from auth/me?
    1338118077073723522-Screenshot_2025-02-09_at_3.55.28_PM.png
    1338118077425913856-Screenshot_2025-02-09_at_3.55.57_PM.png
    1338118077707063357-Screenshot_2025-02-09_at_3.56.21_PM.png
    ✅1
  • Filip Dajkovic

    1 year ago

    That is a bug happening occasionally undefined. For me it resolved after reloading a couple of times.
  • Filip Dajkovic

    1 year ago

    @nikothekid you could check in Xano in your auth/me API the "Request History" where you can see all of the requests coming to that API with all of the data. Also, when you set Session Cookies in Toddle, you should add "Expires in" number as Xano's access token only doesn't provide it, you can check the correct "Expires in" number in your Xano's login or signup API in "Create Authentication Token" function.
    1338122764887920652-CleanShot_2025-02-09_at_13.21.452x.png
  • nikothekid

    1 year ago

    Thank you for the help! I am not sure what actually resolved the issue, was it me reloading 15 times or dabbling in the settings but it did work. Hvala buraz!
    🇲🇪1
  • Platon777

    1 year ago

    Hello I have the same problem
  • Since a couple of days
  • I was trying to advance in another part of the app I'm working
  • Platon777

    1 year ago

    So you just reload the editor multiple times?
  • And adding expiration?
  • nikothekid

    1 year ago

    Yeah, I just reloaded the editor several times and it worked.
  • Platon777

    1 year ago

    But I've also tested the app in another app to try to use it it not worked did you test that also ?
  • Filip Dajkovic

    1 year ago

    Glad it worked for you in the end😁
  • nikothekid

    1 year ago

    Nope, I just reloaded my page several times until i got my response back from Xano.
  • Platon777

    1 year ago

    Ah ok I found it weird that it wasn't worked in test mode in another tab
  • Platon777

    1 year ago

    It works with firefox
  • RobertG

    1 year ago

    Not for me, not sure why.
  • Tod

    1 year ago

    Great energy @RobertG! Your continuous contribution to the toddle Community just made you advance to Community Level 1!
  • Platon777

    1 year ago

    you have proxy activated?
  • RobertG

    1 year ago

    That's weird. That's very weird. In addition to trying firefox, I tried reloading chrome a bunch of times, didn't work. Closed tab, had lunch, opened again, is working now. I'm glad it's working, but it's kinda ominous that I can't depend on toddle working.
  • Platon777

    1 year ago

    maybe they juste released the update
  • RobertG

    1 year ago

    I guess, but when I asked them about the problem they said that it was a chrome only thing and it must be something else.
  • Platon777

    1 year ago

    it works for me now in chrome
  • i think that they just released it
    👍1