Mugo
07/03/2026, 1:13 PMauth.users, despite the app not being publicly accessible. These accounts appear to complete the OAuth flow once (timestamps suggest immediate create + sign-in) but do not interact further.
Understanding so far:
It seems the presence of the web OAuth client keeps the /auth/v1/authorize?provider=google endpoint publicly accessible. This allows external actors to complete the OAuth flow directly via browser without using the app.
What I’ve checked:
• OAuth redirect URIs are restricted to the Supabase callback only
• No open JavaScript origins configured
• CAPTCHA does not apply to OAuth redirect flows
• Disabling signups is not viable with an upcoming launch
Question:
Is there any way (via Supabase or OAuth configuration) to restrict or block usage of the web-based OAuth authorize endpoint while still supporting native Google sign-in on iOS?
Or is the expected approach to allow account creation but rely entirely on RLS and post-auth controls to limit access?Jan
07/06/2026, 10:04 AMHieu Vu
07/08/2026, 8:31 AMHieu Vu
07/08/2026, 9:55 AMMugo
07/08/2026, 11:06 AMBefore User Created hook receive enough context in the event payload to distinguish between a signup coming from a native signInWithIdToken flow (which the compose-auth plugin uses on both Android and iOS) versus one coming through the web-based /auth/v1/authorize redirect?