Relative Content

Tag Archive for reactjsnode.jsnext.jsoauth-2.0notion-api

Server actions vs API routes for a POST OAuth

I have defined this server action that I want to trigger to exchange the code for an access token in a /app/auth/page.tsx where the page.tsx is a Client Component(‘use client’).