Server side auth via the supabase React client
Hi! I was wondering if it's possible to send the user credentials from my React client to my Nestjs API, in order to define the user right to make some actions (send an already authenticated users data to authenticate it in the backend before any action)
My idea was to use the React Supabase client to auth users and then send the credentials to the API when the actions needs to be handled server side.
I don't know if I'm planning this the proper way.
Thanks in advance!
My idea was to use the React Supabase client to auth users and then send the credentials to the API when the actions needs to be handled server side.
I don't know if I'm planning this the proper way.
Thanks in advance!