Guides

Authentication

Lastborn uses a single sign-on model so one identity works across every product.

One account, every product

LastAccounts at accounts.lastborn.io is the central identity provider for the ecosystem. When you sign in once, your session is shared across every Lastborn subdomain, so you never have to log in twice.

How a shared session works

After you authenticate, a session is established on the shared lastborn.io domain. Each product reads that session to identify you, which means access and team membership stay consistent everywhere.

Signing your users in

To send a user to the hub and bring them back afterwards, redirect to the login page with a return URL:

https://accounts.lastborn.io/login?redirect=https://sms.lastborn.io/dashboard

Only lastborn.io destinations are accepted as redirect targets, which keeps the flow safe from open-redirect attacks.