← All field notes / Help users reach first value

SaaS makers · Team invitations

SaaS Invite Link Expired: Why and How to Fix It

Short answer

Auth invitation links often share the short expiry of sign-in links (one hour by default in Supabase), so keep your own invitation that lasts a week and create the sign-in link when it’s used.

GimmeTheSauce editorial · · Updated

Of 120 invitations, 42 are clicked within an hour, 38 within a day and 22 within a week; with a one-hour expiry, 60 of the 102 clicks fail.

Probably because the invitation used a one-time sign-in link, and those are short-lived. In Supabase, the Email OTP expiration setting governs magic links, confirmation links and invitation links. It defaults to one hour, and Supabase strongly discourages setting it above one day. A teammate who opens the email the next morning finds a dead link. Supabase’s passwordless email guide

See when people actually click

Sign-in links are clicked right away because the person asked for them. Invitations arrive unexpectedly, from a colleague, and wait in the inbox. Suppose a hypothetical SaaS sends 120 invitations and records when each one is first clicked:

First clickInvitations
Within 1 hour42
1 to 24 hours38
1 to 7 days22
Never18

102 invitations are clicked. With a one-hour expiry, the 60 clicked after the first hour fail: 59% of the people who tried to join. With a one-day expiry, the 22 later clicks still fail. Most of those people won’t ask for a new invite; they just never join.

If your delivered invitations already outnumber the teammates who join, follow them from delivery to membership to see where they stop. Expiry is one cause; a scanner that opens the link first is another, and it produces the same “expired” message.

Separate the invitation from the sign-in

Don’t make the auth link itself the invitation. Store your own invitation record: workspace, role, invited address and an expiry such as 7 days. Email a link to your own accept page. When the person arrives, show who invited them and to which workspace, and only then start sign-in or sign-up. The one-time link is created at that moment, so its one-hour lifetime doesn’t matter.

This also lets you show a useful page when an invitation really has expired or been revoked: who to ask and a button that requests a new one, instead of a token error.

Bring your invitation flow and click timings to Jason Fried’s AI mentor to simplify team onboarding ↗. Use counts, not email addresses.

Keep learning

Terms used in this note

Every Tuesday and Friday

The sauce from founders who print, twice a week.

Each issue, 3 moves from a different set of founders who print, straight from their own posts and podcasts: their real numbers, how they did it, and one thing to try that week.

Free. Unsubscribe in one click.