Can't login to admin panel
See original GitHub issueHi, I setup the storefront, backend, and admin panels using the “quick deploy” buttons on the documentation. I made sure to set the CORS environment variables on the backend and run the medusa user -e some@email.com -p some-password command on the server, but I’m getting “These credentials do not match our records” whenever I try to login to the admin panel, with the following 401 errors:

I tried running the medusa user command again, but it said that the user with the email I provided was already present in the database, so it’s not a database issue.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Can't Log in to Your WordPress Admin Panel? Try These 9 Fixes
Simple solutions to access your WordPress admin dashboard · Clear your browser cache. · Clear your WordPress cache. · Use an incognito window....
Read more >Can't Login to WordPress Admin? (8 Solutions for Fixing It)
Reasons Why You Can't Access WP-Admin Page · Method 1: Delete Cache and Cookies · Method 2: Reset Your Password Using WordPress ·...
Read more >Can't sign in to the Admin console - Google Support
Enter your admin username if it doesn't already appear on the sign-in page (for example, you@example.com) and click Next. Click Forgot password? and...
Read more >[SOLVED] Can't login to admin panel - OpenCart Community
I'm using OpenCart 3.0.3 and for some reason, I cannot login to the admin panel. When I enter my username & password the...
Read more >WP-Admin Not Working? Fix 'Can't Access WordPress Admin ...
How To Fix Can't Access WordPress Admin · 1. Manually Reset Your Admin Password Via phpMyAdmin · 2. Restore Your Backup · 3....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@import-brain Even though your backend domain is cut out I can see that it is probably
herokuapp.com. This domain is on the public suffix list and those domains can’t set cookies. Make sure to attach your own domain to your medusa backend. Also make sure you’re running your backend with SSL (https://). I would do the same for your admin site.It is highly likely what @chemicalkosek highlighted is the culprit.