fix(app): failed sign-out reported (local session still cleared); reauthentication_needed phrased; docs(docs): exact production redirect allowlist
This commit is contained in:
1 parent
1aed64b4ef
commit
9771d997f4
7 files changed
+29
-5
No files matched your search
@@ -58,7 +58,12 @@ header shows "Se connecter" or "Mon espace".
|
||||
`https://<project>.supabase.co/auth/v1/callback`; Apple needs a paid developer
|
||||
account and a Services ID (BACKEND_ARCHITECTURE §2);
|
||||
- `[auth.mfa.totp]` enrolment and verification are on server-side;
|
||||
- redirect URLs allow `http://127.0.0.1:5173/**` and `http://localhost:5173/**`.
|
||||
- redirect URLs allow `http://127.0.0.1:5173/**` and `http://localhost:5173/**`
|
||||
(local only). On the hosted project the allowlist is exact, never a host
|
||||
wildcard: Site URL `https://<prod-origin>`, Redirect URLs
|
||||
`https://<prod-origin>/auth/callback` and `https://<prod-origin>/reset-password`.
|
||||
A broad pattern there turns `emailRedirectTo` / `redirectTo` into a
|
||||
server-side open redirect.
|
||||
|
||||
The app side: `APP_AUTH_PROVIDERS=google,apple` (Docker) or
|
||||
`VITE_AUTH_PROVIDERS` (dev) lists the buttons to show. Showing a button for a
|
||||
|
||||
Reference in new issue
Block a user