Auth token not being picked up in auth/me in toddle editor

  • leonmarseglia-1339171916996677693

    Leon Marseglia

    1 month ago

    Anyone else not being able to set session cookie auth token?

    I could yesterday but now it is not working (in the toddle app). On the preview page it seems to work but i need it working in toddle so i can use the data on the api request. I've checked xano and it appears when it calls the auth/me it just provides an empty string. Not sure why?

    Tried uninstalling and reinstalling the toddle chrome extension but still no luck.
    1339171918544113738-Screenshot_2025-02-12_at_09.50.59.png
    1339171917453594654-Screenshot_2025-02-12_at_09.48.59.png
    1339171917877350521-Screenshot_2025-02-12_at_09.49.22.png
    1339171918254964777-Screenshot_2025-02-12_at_09.50.08.png
  • Tod-1339171920331145237

    Tod

    1 month ago

    Great energy @Leon Marseglia! Your continuous contribution to the toddle Community just made you advance to Community Level 5!
  • leonmarseglia-1339172124832694314

    Leon Marseglia

    1 month ago

    Auth token not being picked up in auth/me in toddle editor
  • filip_dajkovic-1339182405319397466

    Filip Dajkovic

    1 month ago

    Are you using Arc, it isn't supported anymore so it could be the issue, also you should check the "Request Headers" field in Xano's Request History Details, as authorization is passed in header of the request.

    Make sure to include the Expires in in auth/login's Set Session Cookies, as Toddle can't receive it from Xano's access key. That was an issue in toddle for a couple of weeks but they should've solved it, you could try to test in on a preview page to see if it's an error with Toddle's editor
  • leonmarseglia-1339188142246330401

    Leon Marseglia

    1 month ago

    thanks @Filip Dajkovic - it works on preview page just not in toddle editor
  • leonmarseglia-1339189666783559690

    Leon Marseglia

    1 month ago

    seems to pass the variable name rather than the actual auth token
    1339189666359808060-Screenshot_2025-02-12_at_11.01.16.png
  • filip_dajkovic-1339210653688402013

    Filip Dajkovic

    1 month ago

    You should try and see if the access_token is available as a cooking in your Storage tab in Developers Tools. You should go and complete the login flow, take a look at auth/login API and see the first initials of the access_token you got back, and open Storage in Developer's Tools and see if it's exists there at all
    1339210653499654225-CleanShot_2025-02-12_at_13.22.512x.png
  • leonmarseglia-1339221733743525959

    Leon Marseglia

    1 month ago

    yeah it does exist that's the weird thing
  • filip_dajkovic-1339240660540330024

    Filip Dajkovic

    1 month ago

    That seems completely the same as the bug in undefined , could you just double check and send us the screenshot of Toddle Extension's version, just to make sure that you have the newest version before we can say that the bug is still not fixed
  • leonmarseglia-1339243661975883907

    Leon Marseglia

    1 month ago

    1339243661493276714-Screenshot_2025-02-12_at_14.35.51.png
    1339243661770096755-Screenshot_2025-02-12_at_14.36.05.png
  • @Filip Dajkovic it's also greyed out as well i don't know if that is meant to be the case (comparing it to zapier extension)
  • i have all the right permissions in terms of can read and edit toddle site
  • filip_dajkovic-1339246089370599446

    Filip Dajkovic

    1 month ago

    Yeah, everything looks good on your side, it's grayed out because it's not meant to be opened
  • andreasmoller-1339246916646473781

    Andreas Møller

    1 month ago

    Hey @Leon Marseglia one final thing, when you open the cookie panel what do you see
    1339246916461920307-CleanShot_2025-02-12_at_15.48.562x.png
  • andreasmoller-1339251263249973299

    Andreas Møller

    1 month ago

    This is normal. The token is not avaiblable on the client. It gets inserted on the server.
  • leonmarseglia-1339252609172897803

    Leon Marseglia

    1 month ago

    1339252608946147432-Screenshot_2025-02-12_at_15.11.36.png
  • leonmarseglia-1339252672112496753

    Leon Marseglia

    1 month ago

    But in xano it is doing this i mean
  • andreasmoller-1339252736696520704

    Andreas Møller

    1 month ago

    Does the API have proxy turned on?
  • leonmarseglia-1339252754794938368

    Leon Marseglia

    1 month ago

    yeah
  • andreasmoller-1339252831466815600

    Andreas Møller

    1 month ago

    That looks like the plugin is working just fine :/
  • can you invite me to the project?
  • my username is andreas
  • If it is a private project they you have to invite me to the org as well. You wont be charged extra 😉
  • leonmarseglia-1339253137109811270

    Leon Marseglia

    1 month ago

    cool!
  • will do now
  • should have it?
  • it's 'Duvet Flip' project
  • andreasmoller-1339253743736197283

    Andreas Møller

    1 month ago

    You need to invite me to that too now that I am in the org
  • leonmarseglia-1339253756205727775

    Leon Marseglia

    1 month ago

    done
  • you can use:
    andreas@toddle.dev
    password
  • to trigger login
  • zefunha-1339301887249223783

    zefunha

    1 month ago

    Hey,

    What is the latest on this? Is it a bug?
  • Tod-1339301889434718231

    Tod

    1 month ago

    Great energy @! Your continuous contribution to the toddle Community just made you advance to Community Level 5!
  • lucasg-1339320857381830747

    Lucas G

    1 month ago

    Doesn’t Xano require you set the expiry value since the token is encrypted
  • andreasmoller-1339322590262726656

    Andreas Møller

    1 month ago

    It looks like there might be an issue where you have to refresh the browsers after logging in through the editor. Other than that everything seems to work.
  • lucasg-1339323631670657154

    Lucas G

    1 month ago

    I thought that was always the case? Log in in preview then refresh editor
  • andreasmoller-1339371068028227584

    Andreas Møller

    1 month ago

    Yes but it should have been resolved ☹️
  • leonmarseglia-1339909665412087818

    Leon Marseglia

    29 days ago

    Resolved for me!
  • andreasmoller-1339917140307742794

    Andreas Møller

    29 days ago

    Yay!
  • zefunha-1340227100233175054

    zefunha

    28 days ago

    Hi

    for me the auth me is still not working.

    works in test mode but not in review mode.

    Regards
  • andreasmoller-1340230042617122907

    Andreas Møller

    28 days ago

    Can you show me the workflow where you set the session cookie?
  • zefunha-1340256749587791892

    zefunha

    28 days ago

    Hi,

    This one?
    1340256748845400125-image.png
    1340256749143461981-image.png
    1340256749394989086-image.png
  • robertg5128-1341011666883838044

    RobertG

    26 days ago

    I've had similiar issues, for what it's worth. Reloading the browser seems to work.
  • andreasmoller-1341647107047555164

    Andreas Møller

    24 days ago

    Can you share how your workflow looks for setting the cookie?
  • robertg5128-1341780292452745216

    RobertG

    24 days ago

    It's more or less copied off of one of the xano/toddle youtube tutorials. And it works at first, it's just that sometimes you need to reload the page.
    1341780292222062724-toddletemp.png
  • andreasmoller-1342437995382575156

    Andreas Møller

    22 days ago

    @RobertG Is this still causing issues with the new plugin?

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.