nextjs and python backend question
Answered
In&Out posted this in #help-forum
In&OutOP
If i have for example, fastapi for backend inside api folder inside nextjs project, do i need to protect it separately or is regular auth from nextjs good enough?
Answered by Madeiran sardinella
Hi, I haven't use fastify or another py framework but if I'm not misunderstanding, you have two servers exposed to the world? If is that, yes, you should authenticate both, no matter that users never interact directly with that python server
3 Replies
Madeiran sardinella
Hi, I haven't use fastify or another py framework but if I'm not misunderstanding, you have two servers exposed to the world? If is that, yes, you should authenticate both, no matter that users never interact directly with that python server
Answer
@In&Out okay thank you
Madeiran sardinella
You're welcome bro