Infrai auth developer guides
Every Infrai auth guide in one place: quickstarts, production patterns, error resolution, and operations runbooks verified against the live API.
answers
- Email OTP login for a Node API, without Auth0 or Clerk
- Add Google and GitHub sign-in without writing the OAuth callback
- Changing a user's email address without losing the account
- Clerk vs Auth0 vs a gateway auth API for a small team
- Handling a deletion request: the four calls and the right order
- Storing user profile fields without your own users table
- Handling AUTH_RATE_LIMIT without locking real users out
- One user, three login methods, no duplicate accounts
- A password reset flow with safe expiry, in three API calls
- Phone verification at signup with SMS OTP, in two calls
- Issue, verify and refresh JWT sessions with a hosted auth API
- Recording and checking per-user consent from your backend
- Moving users off Firebase Auth without forcing password resets
- Multi-tenant B2B auth: isolating users per tenant on one API
- Revoking every session for a user after a suspected breach
- Caching a JWKS correctly when you verify sessions per request
- Verifying user sessions from a Python backend, service to service
- What a hosted auth API costs per monthly active user