Got "Failed Exchange: Unauthorized" error after success Login

Hi,

I created the native Angular Ionic application in the dashboard and downloaded the example project. After I logged in, I got “Successfully logged in” and “Failed Exchange” in the log.

{
  "date": "2024-02-27T05:53:37.164Z",
  "type": "feacft",
  "description": "Unauthorized",
  "connection_id": "",
  "client_id": "FzsDcFLNVBjWi63SlsXHIhk2roVG6LXU",
  "client_name": null,
  "ip": "14.203.7.58",
  "user_agent": "Mobile Safari UI/WKWebView 0.0.0 / iOS 17.0.1",
  "details": {
    "code": "******************************************sNS"
  },
  "hostname": "dev-sunny.au.auth0.com",
  "user_id": "",
  "user_name": "",
  "auth0_client": {
    "name": "@auth0/auth0-angular",
    "version": "2.2.1",
    "env": {
      "angular/core": "16.2.12"
    }
  },
  "$event_schema": {
    "version": "1.0.0"
  },
  "log_id": "90020240227055337195251000000000000001223372051065314492",
  "_id": "90020240227055337195251000000000000001223372051065314492",
  "isMobile": true,
  "id": "90020240227055337195251000000000000001223372051065314492"
}

Looks like I have to set a Token Endpoint Auth Method to none in Credentials tab. After done this, it works now.

1 Like

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