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

  • benjabievres-1305893276586344488

    benjabievres

    6 months 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.kayr-1305910246820286564

    Max

    6 months 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
  • benjabievres-1305915392019009638

    benjabievres

    6 months ago

    Hello @Max here are a few screenshots. Note that it works fine on Chrome on my Mac.
    1305915390781685790-image.png
    1305915391360634890-image.png
    1305915391763026061-image.png
    1305915391100321804-image.png
  • Tod-1305915395168931961

    Tod

    6 months ago

    Great energy @! Your continuous contribution to the toddle Community just made you advance to Community Level 3!
  • max.kayr-1305915892332494908

    Max

    6 months 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-1305916146721226862

    benjabievres

    6 months ago

    OMG! you are right! it('s something I'm not super familiar with yet πŸ˜…
  • max.kayr-1305916742350143528

    Max

    6 months ago

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

    benjabievres

    6 months ago

    Yes!! It works now!! Thank you so much!! I really need to learn more about web app dev!
  • max.kayr-1305917352919171222

    Max

    6 months ago

    You will automatically with toddle, don't worry πŸ™‚
    😍1