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

kwangure

05/14/2022, 10:24 AM
Where is the server-side authorization code that runs on supabase. When I call /auth/v1/authorise?provide=abcdef or /auth/v1/callback...where on Github is the backend code that handles those requests?
n

Needle

05/14/2022, 10:24 AM
Hello @kwangure! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
b

burggraf

05/14/2022, 2:05 PM
Auth is handled by GoTrue. Supabase uses a forked version of GoTrue.
n

Needle

05/14/2022, 2:05 PM
kwangure (2022-05-14)
k

kwangure

05/14/2022, 4:46 PM
From what I can tell, GoTrue, is the client...I'm looking for the server side code that's running on Supabase servers, not on mine in the client, functions or middleware etc. When I read through the GoTrue lib it seems to be making the authorization requests to a Supabase URL. I'm looking for the code that sets up postgres, receives a request, and stores the user in the database etc. Users typically don't need to write this logic because it's handled by Supabase internally...I'm looking for that code. Is there something I'm missing or false assumptions I'm making?
If this is publicly available, a link to the source on GitHub would be appreciated.
n

Needle

05/14/2022, 5:39 PM
Thread was archived by @kwangure. Anyone can send a message to unarchive it.
k

kwangure

05/14/2022, 5:53 PM
I was looking the wrong place.