Closed kevinrobert3 closed 8 months ago
The access_token returned from /admin/auth/firebase?returnAccessToken=true does not authenticate other requests. I try to add it to a request and get 401 unauthorized.
access_token
/admin/auth/firebase?returnAccessToken=true
I was using it in header as x-medusa-access-token: {api_token} 🤦🏾♂️.
x-medusa-access-token: {api_token}
Should be Authorization: Bearer {jwt_token}
Authorization: Bearer {jwt_token}
The
access_token
returned from/admin/auth/firebase?returnAccessToken=true
does not authenticate other requests. I try to add it to a request and get 401 unauthorized.