Bug 1557153 Comment 15 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

bwinton, for the failing profile, what's the value for `services.sync.username` (when UITour is failing)?

Also, in your profile directory, is there a `signedInUser.json` file with a json .accountData.email that matches? Perhaps also .acciontData.profileCache.profile.email too? If you want to share the structure + emails, run this in your browser console:

```js
(async () => {
  console.log(
    JSON.stringify( 
      JSON.parse(
        await OS.File.read(
          OS.Path.join(OS.Constants.Path.profileDir, "signedInUser.json"),
          { encoding: "utf-8" }
        )
      ),
      null,
      2
    ).replace(/("(?!email).*": ").*"/g, `$1…"`)
  );
})();
```

should have some output like:
```json
{
  "version": 1,
  "accountData": {
    "email": "bwinton@latte.ca",
    "sessionToken": "…",
    "uid": "…",
    "verified": true,
    "device": {
      "sendTabKeys": {
        "publicKey": "…",
        "privateKey": {
          "crv": "…",
          "d": "…",
          "ext": true,
          "key_ops": [
            "deriveBits"
          ],
          "kty": "…",
          "x": "…",
          "y": "…"
        },
        "authSecret": "…"
      },
      "id": "…",
      "registrationVersion": 2,
      "registeredCommandsKeys": [
        "https://identity.mozilla.com/cmd/open-uri"
      ]
    },
    "oauthTokens": {
      "profile": {
        "token": "…",
        "server": "…"
      }
    },
    "profileCache": {
      "profile": {
        "email": "bwinton@latte.ca",
        "locale": "…",
        "amrValues": [
          "pwd",
          "email"
        ],
        "twoFactorAuthentication": false,
        "uid": "…",
        "avatar": "…",
        "avatarDefault": false,
        "displayName": "…"
      },
      "etag": "…"
    }
  }
}
```

Separately, I tried setting display name to `Blake Winton ✨☕️✨` and doesn't seem enough to cause problems for me.
bwinton, for the failing profile, what's the value for `services.sync.username` (when UITour is failing)?

Also, in your profile directory, is there a `signedInUser.json` file with a json .accountData.email that matches? Perhaps also .accountData.profileCache.profile.email too? If you want to share the structure + emails, run this in your browser console:

```js
(async () => {
  console.log(
    JSON.stringify( 
      JSON.parse(
        await OS.File.read(
          OS.Path.join(OS.Constants.Path.profileDir, "signedInUser.json"),
          { encoding: "utf-8" }
        )
      ),
      null,
      2
    ).replace(/("(?!email).*": ").*"/g, `$1…"`)
  );
})();
```

should have some output like:
```json
{
  "version": 1,
  "accountData": {
    "email": "bwinton@latte.ca",
    "sessionToken": "…",
    "uid": "…",
    "verified": true,
    "device": {
      "sendTabKeys": {
        "publicKey": "…",
        "privateKey": {
          "crv": "…",
          "d": "…",
          "ext": true,
          "key_ops": [
            "deriveBits"
          ],
          "kty": "…",
          "x": "…",
          "y": "…"
        },
        "authSecret": "…"
      },
      "id": "…",
      "registrationVersion": 2,
      "registeredCommandsKeys": [
        "https://identity.mozilla.com/cmd/open-uri"
      ]
    },
    "oauthTokens": {
      "profile": {
        "token": "…",
        "server": "…"
      }
    },
    "profileCache": {
      "profile": {
        "email": "bwinton@latte.ca",
        "locale": "…",
        "amrValues": [
          "pwd",
          "email"
        ],
        "twoFactorAuthentication": false,
        "uid": "…",
        "avatar": "…",
        "avatarDefault": false,
        "displayName": "…"
      },
      "etag": "…"
    }
  }
}
```

Separately, I tried setting display name to `Blake Winton ✨☕️✨` and doesn't seem enough to cause problems for me.
bwinton, for the failing profile, what's the value for `services.sync.username` (when UITour is failing)? And just making sure, the toolbar Firefox Account icon is the logged in or not logged in icon?

Also, in your profile directory, is there a `signedInUser.json` file with a json .accountData.email that matches? Perhaps also .accountData.profileCache.profile.email too? If you want to share the structure + emails, run this in your browser console:

```js
(async () => {
  console.log(
    JSON.stringify( 
      JSON.parse(
        await OS.File.read(
          OS.Path.join(OS.Constants.Path.profileDir, "signedInUser.json"),
          { encoding: "utf-8" }
        )
      ),
      null,
      2
    ).replace(/("(?!email).*": ").*"/g, `$1…"`)
  );
})();
```

should have some output like:
```json
{
  "version": 1,
  "accountData": {
    "email": "bwinton@latte.ca",
    "sessionToken": "…",
    "uid": "…",
    "verified": true,
    "device": {
      "sendTabKeys": {
        "publicKey": "…",
        "privateKey": {
          "crv": "…",
          "d": "…",
          "ext": true,
          "key_ops": [
            "deriveBits"
          ],
          "kty": "…",
          "x": "…",
          "y": "…"
        },
        "authSecret": "…"
      },
      "id": "…",
      "registrationVersion": 2,
      "registeredCommandsKeys": [
        "https://identity.mozilla.com/cmd/open-uri"
      ]
    },
    "oauthTokens": {
      "profile": {
        "token": "…",
        "server": "…"
      }
    },
    "profileCache": {
      "profile": {
        "email": "bwinton@latte.ca",
        "locale": "…",
        "amrValues": [
          "pwd",
          "email"
        ],
        "twoFactorAuthentication": false,
        "uid": "…",
        "avatar": "…",
        "avatarDefault": false,
        "displayName": "…"
      },
      "etag": "…"
    }
  }
}
```

Separately, I tried setting display name to `Blake Winton ✨☕️✨` and doesn't seem enough to cause problems for me.

Back to Bug 1557153 Comment 15