Anyone here used supabase? Can I use supabase just...
# random
e
Anyone here used supabase? Can I use supabase just for authentication purpose and use backend services written in Nodejs, Java or Golang? To authenticate user on backend service I will have to store JWT_SECRET provided on supabase dashboard into my backend services to verify the token in backend right?
c
Hey Aditya, You can definitely do it by using libraries that interact with Supabase - https://github.com/supabase/gotrue-js Also, here's some more inspiration where folks used Auth0 to prove identity and created their own JWTs. You could do something similar with Supabase.
e
Sorry Abhishek did not get how gotrue will help in this case?
Lets say I have nodejs service integrated with stripe similarly I have bunch of other services written in JAVA so in that case is it ok to store JWT secret on backend side and decode the token to get current logged in user from browser. I am following same steps mentioned in this discussion comment https://github.com/supabase/supabase/discussions/1067#discussioncomment-577977 Do you think storing JWT secret is good option?? Please suggest thanks