Next.js Discord

Discord Forum

[AUTH] DPoP & NextJS

Unanswered
Multiflora rose seed chalcid posted this in #help-forum
Open in Discord
Multiflora rose seed chalcidOP
HI,

I am looking for a solution to add DPoP (Demonstration of Proof-of-Possession) to all requests inside of NextJS.
It needs to apply to API routes, server actions and general navigation on the client.

Implementing DPoP is not an issue, telling NextJS in the frontend to attach this header to all requests seems not so easy.
But it is necessary as long as specific routes are rendered on the server depending on auth status.

If someone could push me in the right direction, that would be very helpful.

0 Replies