Open gen1us2k opened 2 years ago
Right now it's not clear how to pass cookies using Axios for next-edge integration.
As a solution it would be best to have a helper function here
const test = await fetch(`${process.env.ORY_SDK_URL!}/sessions/whoami`, { headers: { "Cookie": "ory_session_xxx=....; ory_csrf_xxx=....", } })
and add it to our nextJS example.
Right now it's not clear how to pass cookies using Axios for next-edge integration.
As a solution it would be best to have a helper function here
and add it to our nextJS example.