Something went wrong

When trying to login using windowslive(microsoft social connection), receiving the following error:

{
“error”: “access_denied”,
“error_description”: “Something went wrong”
}

however, using Auth0 Management API, I can retrieve the access token of that user, meaning that authentication itself went fine. What could be the reasons?

Additional infomation:

From Auth0 logs, I see that login indeed failed. The error message from logs looks as follows:

{
  "date": "2023-05-25T16:06:03.147Z",
  "type": "f",
  "description": "Something went wrong",
  "connection": "windowslive",
  "connection_id": "con_DOpe3n6Pkvk8DVSf",
  "client_id": "EuwWlJXOigi17flI0qZpRKq6mzIVxr2o",
  "client_name": "All Applications",
  "ip": "92.47.233.72",
  "user_agent": "Chrome 113.0.0 / Windows 10.0.0",
  "details": {
    "body": {},
    "qs": {
      "state": "Ev39LI9p0H9TYZT6fjXjVpQJJhJAUiqV"
    },
    "connection": "windowslive",
    "error": {
      "message": "Something went wrong",
      "oauthError": "access_denied",
      "type": "oauth-authorization"
    },
    "session_id": "nw71fKhAVez46xzRGHwdom2TsEOMoVh8",
    "stats": {
      "loginsCount": 8
    }
  },
  "hostname": "cooe-dev.auth0.com",
  "user_id": "windowslive|b0f07ccf5df7ebf7",
  "user_name": "argun.autalipov@panda-ventures.net",
  "strategy": "windowslive",
  "strategy_type": "social",
  "audience": "https://cooe-dev.auth0.com/userinfo",
  "scope": [
    "openid",
    "profile"
  ],
  "log_id": "90020230525160603797318000000000000001223372047766523771",
  "_id": "90020230525160603797318000000000000001223372047766523771",
  "isMobile": false,
  "id": "90020230525160603797318000000000000001223372047766523771"
}

Hi @argun.autalipov

Welcome to the Auth0 Community!

Can you dm me a tenant name with windowslive social connection error. I’m unable to find logs on the one linked to your account.

Have a great day!
Dawid

For reference (the issue has been resolved in dm’s)

The issue occurred as an aftermath of a legacy code in rules. The code allowed only a hardcoded number of users to log in via windowslive social connection.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.