PricingBlog

I want to verify that the access_token is stored in the session cookie within the Toddle editor.

  • kaz_ai-1255107888612114484

    Kaz

    1 year ago

    I am currently trying a tutorial for a Todo app using Supabase. After logging in, I want to retrieve the tasks I have created, but within the editor, I cannot retrieve my tasks. To try, I typed in the access token manually and was able to retrieve it. I was also able to retrieve it on the preview page. However, no matter how many times I reload the page, I cannot get my task in the editor. I think this is probably due to the fact that the access token is not properly saved in the session cookie during the login workflow within the editor. is there a way to resolve this or to make sure the access token is saved? I already have the Toddle plugin installed.
    1255107888972697600-2024-06-25_19.10.38.png
    1255107889417162802-2024-06-25_19.09.59.png
    1255107889807360050-2024-06-25_19.30.13.png
  • lucasg-1255212693929857165

    Lucas G

    1 year ago

    Did you resolve this @Kaz ?
  • kaz_ai-1255228349664591873

    Kaz

    1 year ago

    @Lucas G
    Yes! I have solved the problem! I should have logged in on the preview page, not the editor page.

    1. Install plug-ins
    1. https://chrome.google.com/webstore/detail/toddle/hfhgjncckomifajhndceigiaiojhlllp
    2. https://addons.mozilla.org/en-US/firefox/addon/toddle/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search
    2. Open the login screen on the editor page
    3. Press the "preview page in a new tab" button
    4. Log in from the preview page login screen (do not log in from the editor page login screen)
    5. Open the page to which you transition after login in the editor page and reload the page.
    🔥1
  • lucasg-1255228610952958033

    Lucas G

    1 year ago

    Good, glad you figured it out
    🙌1
  • danishnizzle-1257835017246343269

    danishnizzle

    1 year ago

    you just saved me - ty
    🙌1