Relative Content

Tag Archive for next.jsheadernext-auth

`headers` was called outside a request scope

Im trying to create a temporary session in my API using nextJS version 14.2.3, this session needs to be created using a API-KEY and Bearer Token comming from the headers, but im getting this error, heres the code im trying to use: