PricingDocsAcademy
Bluesky ...
Wed, Dec 11, 10:12 PM

Help with Storing and Sending Session ID for Frappe Authentication in Toddle

  • khanmomodou11

    1 month ago

    Hi everyone! I'm integrating Toddle with a Frappe backend and need help managing session-based authentication. After logging in with email and password, I receive a session ID (sid) from Frappe, which I need to send as a secure cookie in each request.

    Does anyone have experience with securely storing and using session IDs like this in Toddle, or know a way to handle this through HTTP-only cookies? Thanks in advance!
  • Max

    1 month ago

    Hi! If this is the only auth method that your backend supports, you need to make sure to disable toddle's proxy in the API calls. Otherwise, the cookie is not set in the browser. Then try to do the login again and check the browser dev tools. The cookie should be set automatically

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.