Magento 2 Admin Login

Avatar image of Maarten Maarten
November 7, 2022
You’ll be given an opportunity to allow admin data usage when you log in for the first time. For more information, you can visit Store Admin

The Admin has access to some crucial information like a store, order, and customer data; thus, Magento Commerce Admin is protected by multiple layers of security measures. It helps in preventing unauthorized access to data. The users who sign in for the first time have to use their username and passport and have to set up two-factor authentication. Some stores will also be asked to resolve CAPTCHA; it depends on your store configuration. 

If you have multiple Admin users, you can determine permissions accessible to specific users and limit the number of login attempts. By default, login attempts are set at six times; after that, your account will be locked if you enter incorrect credentials. In this case, the user will have to wait for a few minutes to log in again. Admins can also reset Locked accounts.

You’ll be given an opportunity to allow admin data usage when you log in for the first time. For more information, you can visit Store Admin 

Let’s see how you can set up Admin Log in

niOxKcnMg JSCGF7busyytdFm4Nga1tKpOO29Z7r9 qo4bdsNb3njbBujIvNvm7DggVfZ15qz6EJHTg

Step 1: Set up two-factor authentication(2FA)

You must have two-factor authentication set up before you get started with the Admin sign-in. Magento 2 Commerce supports Google Authenticator by default.

But you can use other 2FA solutions too. If you’re in doubt about which one will support your store, you can Ask your Commerce system administrator. Once you choose the right one for your store, you can complete the 2FA setup.

Step 2: Sign in to the Admin

  1. Enter the Custom Admin URL. You’ll have to remember the admin URL you specified during the Commerce installation process.

It will look something like this

In most examples, admin is used as a base URL, but it is recommended to use a URL that is unique and hard to guess for security reasons.
For easy access, save a shortcut on your PC or bookmark the page in a browser.

  1. Enter your Admin Username and Password. 
  2. (Optional) If your store is configured to resolve a CAPTCHA, simply follow the instructions to resolve it.
  3. Click Sign in.

When you sign in for the first time, you will receive an email with a configuration instructions link.

Step 3: Complete the 2FA configuration

If you’re using Google Authenticator, you can follow the steps mentioned below. The steps might differ depending on the authenticator you use.

  1. Once you hit the sign-in button, you’ll see the QR code on the screen; simply pair Google Authenticator by using one of the following methods UYGQr cU9pcoSgaQ7QusTp9Ox9Wio5dR0Rkfev9H1NCYyObdQP3U9T6lvAZbbhGft0rOfiT1R1TrfbzvVR4estnOi809mki3FCc1ytdwEuEocHO58lDZiZYbDOD0h1orFPaCL549ufR9gnXvkJ2UmHZjG7j0AGQQlyGbEjja2MaEBhRc6MqZulY 7B 0
  • Use your smartphone to Capture QR Code

Launch the Google Authenticator app on your smartphone. In the upper-right corner, tap the plus button (+).  Now to take a picture of the QR code, tap the Scan Barcode button at the bottom of the screen.

  • Capture QR Code from browser
    Install the Google Authenticator extension, click on the icon, and capture the page. 
  • Manually enter QR code 

Launch the Google Authenticator app on any of your devices. In the upper-right corner, tap the plus button (+), then choose Manual Entry. Copy the string of text below the QR code. Under the account section, enter the email address associated with your admin account and paste the QR code string in the Key field.

  1. Enter the code generated by Google Authenticator into the Authenticator Code field and click confirm.
    2YVNwzWLpSBBRJdYqog026DDJ7tkon8uQGKr9ixFbBHbhFxyoNwG t7dU4Dvqwaw727QTVpsnxeXUguUYeOLzQ5nUZ0zM 5r35 k3ao9EgnovEahKqSKnK jLbqqf171WthQAqSQDYntPqfsOUB2v1biZgACAndnPk2aqd42 vWPPXkk2u9atQJDGdjZ
  2. You’ll be signed in to the Admin.

Configure the admin user name to be case sensitive

  1. Navigate to the Admin sidebar and go to > Settings > Configuration.
  2. Expand advanced and choose Admin In the left panel
  3. Expand the Security section.
  4. Select “YES” for Case Sensitive field.
  5. Click Save Config.

Sign out of the Admin

  1. Click the Account icon in the upper-right corner.
  2. Click Sign Out.
0cqPYATRRC1tBEM0ScdpiR3a J xelFrtFygjB DTesqS spvojz0Y5gidvPa06e9MMG9Yk3xs1UG6I0y1QnUxmnxNEJXdo9MVFl x5oNPDjJ4sbXaHe6hgnOh4 B86sM 4 UqbNCWCr73dChOq

You will see a message showing signed out on a sign-in page. Now, what if you forgot your password? Simply follow the steps below to reset your password.

How to Reset your password?

  1. Enter the Email Address associated with your  Admin account.
YI7lH LmQD99Nm8iju05jnVbrH4tS5QNtN0dmD44vSnBuuaRG73nFGs21j4oWbeMPPycf0qSOCzWdCCejFYbPTyyqtZsYru7do8TmBMEbOWxCgTJvbwAo tfkpYmF2MmyHTvdgAS54vOJLWPivRNIe OCfscjbdzZm5AVWnGBjHUXka5VMgok2g1CkVN

  1. Click Retrieve Password

Magento 2 Commerce will verify your email, and if the email is associated with an account, you’ll receive an email to reset your password. Remember that you can not use the last four passwords.

Allow multiple Admin logins

You can manage orders, products, customers, and payment functionality with the Admin. By default, the configuration doesn’t allow multiple logins for Admin users for security reasons. You can change this setting following the step below. 

  1. Navigate to the Admin sidebar and go to Stores > Settings > Configuration.
IUbR9NIM7v4V9Vv0PCQYvjh1K9RpIQONPrfMZ9hN9F8SPS62wE DrUfZqXL5gVEFD5pb5jnYdn6RSSlEuB19k32kNEKYys iJFhv2BLlqrx6q5 a8LG1CPFp Hfbwr02EC7dJvxpRggL7 pgTM2dOD9iuwFWbzS4ncf1KtZ10qhUsT4ZT8Hemk9IPUQ

  1. Expand advanced and choose Admin In the left panel
  2. Expand the Security section.
  3. Select “YES” for Admin Account Sharing
  4. Click Save Config.

That’s it for Admin Login.

Industry news straight to your inbox

Get the latest commerce news, trends, and strategies to grow your business
Subscribe to the newsletter
By submitting this form, you agree to receive promotional messages from Magstack. Unsubscribe any time by clicking the link in our emails.
Select location and language

Contact Our Sales Team

Learn more about our products, features, and pricing options.
By submitting this form, you agree to receive promotional messages from Shopify about its products and services. You can unsubscribe at any time by clicking on the link at the bottom of our emails.
Use cases
Log in
Start a free trial