Skip to content

[iOS] Autologin

Camilo edited this page Dec 4, 2023 · 1 revision

If you are using the latest Jasonelle for iOS. You can use the JLCookies extension. With this extension you can save the current session Cookies and then load them when needed.

This is handy because you can store the login credentials and avoid showing the login form at all.

Step 1

Ensure that JLCookies extension is loaded and correctly installed in your Jasonelle. Check Extensions for a step by step guide.

Step 2

Add the following Javascript to your login html form.

// Get the latest cookie from Keychain and save it to session cookies
$cookies.write();

Step 3

Add the following Javascript to the success page after login (This will have the latest cookies)

// Store document.cookie in keychain
$cookies.set();
Clone this wiki locally