https://supabase.com/ logo
#help
Title
# help
s

Sealion

02/10/2022, 8:29 PM
When do auth-call (signup for example) why two DB-calls?
Hey, Just curious. When I sign up a new user there are 2 API-calls for this. One POST and one OPTIONS. Why? They are 99% identical.
.
c

chipilov

02/10/2022, 8:32 PM
This will happen for all Supabase requests, including requests to the DB (i.e. NOT just auth requests). This is very common when you you make AJAX requests to domain X (in this case the Supabase project domain) from domain Y (i.e. your domain)
s

Sealion

02/10/2022, 8:33 PM
Ah, cool. Thank you for that @User, I had no idea!
👍