polairelabs / PenguinShip

Shipping API with user management, Easypost integration to purchase labels and with membership management using Stripe
Apache License 2.0
0 stars 0 forks source link

/refresh-token endpoint not working ? #83

Open elsaso opened 1 year ago

elsaso commented 1 year ago

After logging in and we apply a membership, it redirects you back to the front and it calls refresh-token endpoint but it returns 401.

image

madgustoo commented 1 year ago

The set-cookie header returned by the api on login does not create the cookie in the browser. Even though, we can clearly see the cookie returned in the response. To see the cookies in your browser, go under the applications tab in the dev tool and click on cookies.

Besides that everything seems in working order.

Use the https://github.com/polairelabs/NavashipFront/tree/refresh_token branch