Authenticated Requests
Unanswered
Sun bear posted this in #help-forum
Sun bearOP
I have supabase authentication for nextjs. But i also have a seperate fastapi server. I want to send request to it but i need to validate authentication on supabase too.
My Problem currently is how are these requests done (best practise).
most of the time i am using server actions in nextjs. But when i send a request to fastapi how should i implement it? Should i use client side token fetching or also server side? How to handle it?
My Problem currently is how are these requests done (best practise).
most of the time i am using server actions in nextjs. But when i send a request to fastapi how should i implement it? Should i use client side token fetching or also server side? How to handle it?