With Sesamy, you can create special links that let your users log in directly on your own website. These links can either simply trigger a login or pass along the user’s email address for an even smoother experience.
Option 1: Simple Login Link
Use this format if you just want to trigger the Sesamy login flow on your domain:
https://www.acme.com/?sesamy-login=true
Replace www.acme.com with your actual website domain.
When a visitor clicks this link, they’ll be prompted to log in with Sesamy.
Option 2: Login Link With Email
If you already know the user’s email, you can include it directly in the link:
https://www.acme.com/[email protected]
Replace www.acme.com with your domain, and [email protected] with the actual user’s email.
When the user clicks this link, the login process will start automatically with the provided email pre-filled.
Using Dynamic Emails
If your email system supports inserting dynamic URLs and parameters, you can generate personalized login links for each user.
For example, most newsletter or CRM platforms let you merge in the recipient’s email address:
https://www.acme.com/?sesamy-user=*|EMAIL|*
(Here *|EMAIL|* is just an example placeholder — your email system will have its own format.)
Example
On acme.com, login links could look like this:
Simple login:
https://www.acme.com/?sesamy-login=trueLogin with email:
https://www.acme.com/[email protected]
Tips
Always use your own website’s domain in the link.
Use the email version when sending login links by email (if your system supports dynamic placeholders).
Both formats redirect users through Sesamy’s secure login system and then back to your site.
