When do auth-call (signup for example) why two DB-calls?
Sealion
02/10/2022, 8:29 PM
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.
Sealion
02/10/2022, 8:32 PM
.
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)