Closed oliwerhelsen closed 1 year ago
@oliwerhelsen How did it worked for you? I have upgraded medusa version to 1.18.1 and latest medusa admin package. Now, I'm getting the same error! Please provide more insights on the fix!
It is strange! I was using windows with ubuntu via WSL feature! After restarting the machine it started working!
@bkvaiude nice that it worked out for you. My problem was that I didn't provide the protocol in my client application. MEDUSA_BASE_URL most be with http/-s 🤦
Bug report
Describe the bug
I am trying to create a session by using "useAdminLogin" from medusa-react. But I keep getting cors issue even though the configuration is done accordingly.
System information
Medusa version (including plugins): Node.js version: v21.1.0 Database: Postgres Operating system: macOS Sonoma Browser (if relevant): Chrome
Steps to reproduce the behavior
Expected behavior
Getting a session cookie.
Screenshots