All skills
11 of 113 — copy any prompt into Lovable, or read the guide.
Active:Category: auth
Auth
promptEnable email + password auth
Add Lovable Cloud auth with sign-up, sign-in, and a protected route.
advanced 1h 30m Deep dive
authemail
Auth
guideHandle session expiry without data loss
Refresh tokens transparently, and when refresh fails, park the user's unsaved work instead of dumping it.
advanced 1h 30m
authsessionuxcloud
Auth
promptInvite users by email
Admin sends an invite that lets the recipient set a password.
advanced 1h 30m Deep dive
authinviteadmin
Auth
promptPassword reset flow
Forgot-password → email → new-password page.
advanced 1h 30m Deep dive
authpasswordemail
Auth
promptPasswordless magic link
Send a one-click sign-in link via email.
advanced 1h 30m Deep dive
authmagic-linkemail
Auth
guideProtected route pattern
Use the built-in _authenticated/ layout — never gate in a loader on a public route.
advanced 1h 30m Deep dive
authroutingguard
Auth
promptServer-side role check
Verify a caller is admin inside a server function.
advanced 1h 30m Deep dive
authrolesserver
Auth
promptSign in with Apple
Add managed Apple OAuth.
advanced 1h 30m Deep dive
authoauthapple
Auth
promptSign in with Google
Add managed Google OAuth in one step.
advanced 1h 30m Deep dive
authoauthgoogle
Auth
promptSign out cleanly
Sign out and clear all cached user data.
advanced 1h 30m Deep dive
authsignout
Auth
promptuseSession() hook
One hook that returns the current user + loading state everywhere.
advanced 1h 30m Deep dive
authhooks