adrien2p / medusa-plugins

A collection of awesome plugins for medusa :rocket:
https://medusa-plugins.vercel.app
MIT License
161 stars 46 forks source link

Token from firebase endpoint does not authenticate #154

Closed kevinrobert3 closed 8 months ago

kevinrobert3 commented 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.

kevinrobert3 commented 8 months ago

I was using it in header as x-medusa-access-token: {api_token} 🤦🏾‍♂️.

Should be Authorization: Bearer {jwt_token}