Mobile SSO Stopped Working on iOS

We have a native mobile app using auth0-flutter and a web app using auth0-react and at some point mobile SSO stopped working on iOS between the two.

Android mobile SSO continues to work as expected using the same codebase.

From the app, the Universal Login Experience is presented by auth0-flutter and we’re able to authenticate as expected. However when switching to the web app (mobile Safari) on the iOS device we get a “Failed Silent Auth” error “Login required” (log below) and the user is redirected to the universal login.

On Android however, mobile SSO works as expected and the Auth0 web SDK is able to silently log in ok (full log in reply).

{
  "date": "2023-09-07T14:49:13.353Z",
  "type": "fsa",
  "description": "Login required",
  "client_id": "{Redacted}",,
  "client_name": "{Redacted}",
  "ip": "{Redacted}",
  "user_agent": "Mobile Safari 15.5.0 / iOS 15.5.0",
  "details": {
    "body": {},
    "qs": {
      "audience": "{Redacted}",
      "scope": "openid profile email offline_access",
      "signUpUrl": "{Redacted}",
      "client_id": "tK2BMo8ONQrf24uxNFW7yPGoe46NNhAr",
      "redirect_uri": "{Redacted}",
      "response_type": "code",
      "response_mode": "web_message",
      "state": "NGxZQ0loV3VqSEpnalhHb2dfbXBHSnpCczkxSzdSa2NmMGdZOG9vUm03fg==",
      "nonce": "R0Z4NHhxTktUU212Lm83cUNVX3lnT2tZalBDRzdScVBpVUxJSFBJdlU4VQ==",
      "code_challenge": "x0K1JH7z027MC6fzEFpaO7bIKCuO3KThruHAULQbZ44",
      "code_challenge_method": "S256",
      "prompt": "none",
      "auth0Client": "{Redacted}",
    },
    "connection": null,
    "error": {
      "message": "Login required",
      "oauthError": "login_required",
      "type": "oauth-authorization"
    },
    "riskAssessment": null
  },
  "hostname": "{Redacted}",
  "audience": "{Redacted}",
  "scope": [
    "openid",
    "profile",
    "email",
    "offline_access"
  ],
  "auth0_client": {
    "name": "auth0-react",
    "version": "1.0.0"
  },
  "log_id": "90020230907144913429707000000000000001223372060106730798",
  "_id": "90020230907144913429707000000000000001223372060106730798",
  "isMobile": true,
  "id": "90020230907144913429707000000000000001223372060106730798"
}

Please advise on how to get mobile SSO working on iOS.

Here’s the log for the working silent web login on Android:

{
  "date": "2023-09-07T14:21:58.572Z",
  "type": "s",
  "connection_id": "",
  "client_id": "{Redacted}",
  "client_name": "{Redacted}",
  "ip": "47.223.221.89",
  "user_agent": "Chrome Mobile 116.0.0 / Android 0.0.0",
  "details": {
    "prompts": [],
    "completedAt": 1694096518570,
    "elapsedTime": null,
    "actions": {
      "executions": [
        "gxW5jBuKQmSZtYHN9OFfizIwMjMwOTA3"
      ]
    },
    "session_id": "I8nZ2rTM8YmQ3uaGgbY35y4AsfPNrloV"
  },
  "hostname": "{Redacted}",
  "user_id": "auth0|64bad0cdec1765eb0fdb28da",
  "user_name":"{Redacted}",
  "auth0_client": {
    "name": "auth0-react",
    "version": "1.0.0"
  },
  "log_id": "90020230907142200519344000000000000001223372060103957564",
  "_id": "90020230907142200519344000000000000001223372060103957564",
  "isMobile": true,
  "id": "90020230907142200519344000000000000001223372060103957564",
  "description": "Successful login"
}