Need help with Toddle + Xano Authentication.

  • niko_the_kid-1338118076721270887

    nikothekid

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

    Filip Dajkovic

    1 month ago

    That is a bug happening occasionally undefined. For me it resolved after reloading a couple of times.
  • filip_dajkovic-1338122765080854529

    Filip Dajkovic

    1 month 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
  • niko_the_kid-1338124078841729104

    nikothekid

    1 month 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
  • platon_777-1338140223384584212

    Platon777

    1 month 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
  • platon_777-1338140580982816768

    Platon777

    1 month ago

    So you just reload the editor multiple times?
  • And adding expiration?
  • niko_the_kid-1338140790131658762

    nikothekid

    1 month ago

    Yeah, I just reloaded the editor several times and it worked.
  • platon_777-1338145243463286825

    Platon777

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

    Filip Dajkovic

    1 month ago

    Glad it worked for you in the end😁
  • niko_the_kid-1338145661262237726

    nikothekid

    1 month ago

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

    Platon777

    1 month ago

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

    Platon777

    1 month ago

    It works with firefox
  • robertg5128-1338555964881764494

    RobertG

    1 month ago

    Not for me, not sure why.
  • Tod-1338555967243292672

    Tod

    1 month ago

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

    Platon777

    1 month ago

    you have proxy activated?
  • robertg5128-1338562569501282405

    RobertG

    1 month 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.
  • platon_777-1338562788725096499

    Platon777

    1 month ago

    maybe they juste released the update
  • robertg5128-1338563149636304988

    RobertG

    1 month 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.
  • platon_777-1338563704438128764

    Platon777

    1 month ago

    it works for me now in chrome
  • i think that they just released it
    πŸ‘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.