Can't login to admin panel

See original GitHub issue

Hi, 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: Screenshot 2022-08-07 at 7 54 03 PM

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:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
chemicalkosekcommented, Aug 8, 2022

@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.

1reaction
olivermrblcommented, Aug 9, 2022

It is highly likely what @chemicalkosek highlighted is the culprit.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found