demisel
05/17/2023, 10:03 AMgetServerSideProps
I get the user's session, then get a jwt using session.getAccessToken()
. Is this token supposed to be usable for requests to my other backend ?
I have called JWT.init()
, and add a Bearer [accessToken]
header but my requests still end up unauthorizedrp_st
05/17/2023, 10:05 AMrp_st
05/17/2023, 10:06 AMrp_st
05/17/2023, 10:07 AMdemisel
05/17/2023, 10:11 AMrp_st
05/17/2023, 11:12 AM