PricingDocsAcademy
Bluesky ...
Wed, Dec 11, 11:09 PM

Having troubles with Session Cookies with any browser other than Chrome on Mac

  • benjabievres

    29 days ago

    Hello,

    I built a new web app that asks users to log in and that stores an access_token in a session Cookie.
    It works well on Chrome in Mac (the one I used to build the web app), in normal and incognito mode, but when I use any other browser, the API calls I make contain an empty access_token.

    I tried on iPhone with Chrome, Safari and Firefox, as well as Safari on Mac, none work with my session Cookie.

    Note that I'm using the preview of the App.

    Is there any specific configuration I should do?

    Thanks.

    Benjamin
    βœ…1
  • Having troubles with Session Cookies with any browser othe than Chrome on Mac
  • Having troubles with Session Cookies with any browser other than Chrome on Mac
  • Max

    29 days ago

    Hi! The setup should work the same in all browsers, if configured correctly. Without screenshots of the auth flow it is hard to do troubleshooting... My best guess is that you don't use the "On success" branch of the set session cookie node correctly. Can you share a few screenshots of the flow?
    πŸ‘1
  • /attachments/1305893276586344488/1305915390781685790/image.png

    benjabievres

    29 days ago

    Hello @Max here are a few screenshots. Note that it works fine on Chrome on my Mac.
    image.png
    image.png
    image.png
    image.png
  • Tod

    29 days ago

    Great energy @! Your continuous contribution to the toddle Community just made you advance to Community Level 3!
  • Max

    29 days ago

    Hey! The "Go to URL" has to go in the "Success" part of the "Set session cookies" node. The way you set it up, you might change the URL before the cookies were set
    βœ…1
  • The nodes don't wait for each other
    πŸ‘1
  • benjabievres

    29 days ago

    OMG! you are right! it('s something I'm not super familiar with yet πŸ˜…
  • Max

    29 days ago

    No Problemo πŸ™‚ Chrome on Mac is pretty fast. That is why it was set on your Mac, but not your other devices
  • benjabievres

    29 days ago

    Yes!! It works now!! Thank you so much!! I really need to learn more about web app dev!
  • Max

    29 days ago

    You will automatically with toddle, don't worry πŸ™‚
    😍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.