When do auth-call (signup for example) why two DB-...
# help
s
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
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
Ah, cool. Thank you for that @User, I had no idea!
👍