Connect supabase-js to supabase template
chachew
HOBBYOP

a year ago

I am running the 'Supabase Six's Projects' template and i need to now connect to it for user authentication from the supabase-js javascript library. I cant seem to find the correct url to point supabase-js to in the createClient method. Ive tried the railway internal 'postgrest-production-.up.railway.app' url for internal connections and ive also tried externally adding a cloudflare dns entry point back tot he railway app. None have worked.

What im looking for is the database url, both internally and externally, so i can connect the supabase-js client on the frontend to let user login in/out

Ive been pointing to the postgrest service, but is that correct or should it be the kong service or something else?

Solved$10 Bounty

2 Replies

chachew
HOBBYOP

a year ago

Found it!, Its just the Kong internal/external network address


chachew

Found it!, Its just the Kong internal/external network address

lofimit
HOBBY

a year ago

Great! Just reminding you to mark this thread as solved.


Status changed to Solved brody 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...