I'm looking through medusa docs but i'm a bit stuck on what the best path forward is for me to integrate medusa with our existing auth service.
We use cookie based auth where a client will talk to a separate auth microservice, acquire a cookie, and downstream services (incl medusa) will be sent requests with this cookie.
We just need to grab the cookie, verify it to determine the user and authenticate the request.
Medusa's auth implementation seems very standalone, and i can't find a nice way to integrate it into our stack with the existing system - hence I'm reaching out here.
We shouldn't need to do token exchanges, or custom register / login / logout routes on medusa. We just need a simple way to populate the auth context based on our cookie.