How to handle auth token when doing SSR with next.js?

后端 未结 0 1677
长情又很酷
长情又很酷 2020-12-23 09:56

I want to find a way to inject user api_token on the server side.

When doing ssr, I come to a situation that I need to fetch data of authenticated user.

On cli

相关标签:
回答
  • 消灭零回复
提交回复
热议问题