Title: [error code: unauthorized]
Last modified: July 6, 2022

---

# [error code: unauthorized]

 *  Resolved [Andrew Schultz](https://wordpress.org/support/users/tabboy/)
 * (@tabboy)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/error-code-unauthorized/)
 * Installed the plugin, added my admin account via the wizard. Every time I try
   and login I get the following error.
 * `There was a problem with your log in: Access denied. [error code: unauthorized]`
 * Looking into the Auth0 logs I can see the following
 *     ```
       {
         "date": "2022-07-06T00:13:54.277Z",
         "type": "fcoa",
         "description": "Access denied.",
         "connection_id": "",
         "client_id": "xiUn8m8St5tguinnQDU7uuFSSrHz679g",
         "client_name": "Demo-Eversion",
         "ip": "2001:8003:b070:2001:599f:e9d8:fb5a:d097",
         "user_agent": "Chrome 103.0.0 / Windows 10.0.0",
         "details": {
           "body": {},
           "qs": {
             "client_id": "xiUn8m8St5tguinnQDU7uuFSSrHz679g",
             "response_type": "token id_token",
             "redirect_uri": "https://demo.eversionsystems.com/index.php?auth0=1",
             "scope": "openid profile email",
             "state": "eyJpbnRlcmltIjpmYWxzZSwibm9uY2UiOiIxOTNiMjIxZTliYjYzOGYwMjkwMDY5YzYxY2RiMWVhZTc4YzExYjk5ODg0NTcxMDg5YjhmMTc0YzdkM2FjNTE5IiwicmVkaXJlY3RfdG8iOiJodHRwczpcL1wvZGVtby5ldmVyc2lvbnN5c3RlbXMuY29tXC93cC1hZG1pblwvIn0=",
             "nonce": "7c02cfc2a9453ee28f4f8ffc507fb8be7b3e23d58c1454d90201cf0871e51db5",
             "response_mode": "web_message",
             "prompt": "none",
             "auth0Client": "eyJuYW1lIjoibG9jay5qcyIsInZlcnNpb24iOiIxMS4zMC42IiwiZW52Ijp7ImF1dGgwLmpzIjoiOS4xNi40IiwiYXV0aDAuanMtdWxwIjoiOS4xNi40In19"
           },
           "connection": "DB-Demo-Eversion",
           "error": {
             "message": "Access denied.",
             "oauthError": "unauthorized",
             "type": "oauth-authorization"
           },
           "session_connection": "DB-Demo-Eversion"
         },
         "hostname": "eversion.au.auth0.com",
         "user_id": "auth0|62c43c7e1a9e498f8e57196d",
         "user_name": "contact@eversionsystems.com",
         "audience": "https://eversion.au.auth0.com/userinfo",
         "scope": [
           "openid",
           "profile",
           "email"
         ],
         "auth0_client": {
           "name": "lock.js",
           "version": "11.30.6",
           "env": {
             "auth0.js": "9.16.4",
             "auth0.js-ulp": "9.16.4"
           }
         },
         "log_id": "90020220706001358707143795065688112435988236957187571778",
         "_id": "90020220706001358707143795065688112435988236957187571778",
         "isMobile": false,
         "id": "90020220706001358707143795065688112435988236957187571778"
       }
       ```
   
 * It seems to accept my username and password, when I type the wrong one it shows
   a message “WRONG EMAIL OR PASSWORD.”. Any ideas?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-code-unauthorized%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [Andrew Schultz](https://wordpress.org/support/users/tabboy/)
 * (@tabboy)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-code-unauthorized/#post-15807602)
 * Found the issue, I had an email domain whitelist rule setup that was blocking
   me from logging in. Error message should really include this otherwise it’s hard
   to troubleshoot.

Viewing 1 replies (of 1 total)

The topic ‘[error code: unauthorized]’ is closed to new replies.

 * ![](https://ps.w.org/auth0/assets/icon-256x256.png?rev=3351758)
 * [Login by Auth0](https://wordpress.org/plugins/auth0/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auth0/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auth0/)
 * [Active Topics](https://wordpress.org/support/plugin/auth0/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auth0/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auth0/reviews/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)
 * [unauthorized](https://wordpress.org/support/topic-tag/unauthorized/)

 * 1 reply
 * 1 participant
 * Last reply from: [Andrew Schultz](https://wordpress.org/support/users/tabboy/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/error-code-unauthorized/#post-15807602)
 * Status: resolved