PricingBlog

In Toddle Auth Issues

  • alexsiale_17363-1240610156685819946

    Alex

    1 year ago

    Hey Toddle team, I still get inconsistent results with the Toddle auth in the designer. I have the chrome extension, some sessions it works fine and then others it just won't read that my user is logged in through the API calls I'm making...

    Have there been any bugs or are there ways that I can do a 'fresh start' and make sure I'm set up properly?

    Thanks
    1240610313586475070-Screenshot_2024-05-16_at_10.22.04_PM.png
  • alexsiale_17363-1240610445476495451

    Alex

    1 year ago

    After 'Login' API reads and it seems we're fine...

    But then on 'GET User' it doesn't read them...
    1240610445274910770-Screenshot_2024-05-16_at_10.22.36_PM.png
  • Any ideas? Or can you spot something I'm doing wrong? 🙂
  • gazinhio-1240625984554668072

    gazinhio

    1 year ago

    The first one is not Auto-fetch and the second one is, so it looks like it's trying to get the user before it's run the auth API. You'll likely need to take Auto fetch off the second and call it from the Success workflow of the call to the first so it happens in sequence eg log-in then get the logged in user info.
  • alexsiale_17363-1240635057417490577

    Alex

    1 year ago

    makes so much sense! thank you