Hello. Did Anyone managed to use supabase auth in express/other server language?
Mihai Andrei
11/08/2021, 2:09 PM
For example, use only the supabase auth with a mongo db or a locally postgres or so. I was thinking of maybe 2 aproaches
Mihai Andrei
11/08/2021, 2:09 PM
1. Have supabase client Both on frontend app/backend app. On each request, get the token from the frontend and send it to the backend to verify. If it is ok, send data from the db
Mihai Andrei
11/08/2021, 2:10 PM
2. Have supabase only on backend, and the frontend sends the username/password and you sign in on the server and send the tokens
Mihai Andrei
11/08/2021, 2:11 PM
What do you guys think of this? I liked more the first aproach because you could use that on the front with github/google auth also.