Skip to content

Sign in with Microsoft

The Sign in with Microsoft feature allows users to log in to Trimble Identity using their Microsoft ID credentials. The Sign in with Microsoft functionality is enabled for Trimble Identity along with the two other federated social identities Trimble Identity currently supports, Google and Apple.

To sign in to Trimble Identity with Microsoft:

  1. Select the Sign In with Microsoft button on the sign in page. The Microsoft sign in screen opens.

  2. The user enters their Microsoft sign in details and selects Next.

    If the user has two-factor authentication enabled, the user also need to enter the two-factor authentication code.

  3. A verification window prompts users to either continue or cancel the sign in process. Select Yes to continue with signing on.

Access token sample

A developer can expect to see access and Identity tokens in the response payload. These tokens are JSON Web Tokens (JWT). JWT is a standard defined in RFC 7519. A JWT’s payload will contain a set of claims including the Authentication Methods References (amr) claim.

Here are examples of the payloads contained in those tokens. Users who have signed in with the Sign in With Microsoft button will see “azure_social” and “federated” values in the Authentication Methods References (amr) claim.

Access token

{
   iss: "https://id.trimble.com",
   exp: 1665573941,
   nbf: 1665570341,
   iat: 1665570341,
   jti: "18ddf7…",
   jwt_ver: 2,
   sub: "661f9f…",
   identity_type: "user",
   amr: [
      "federated",
      "azure_social",
      "mfa"
   ],
   auth_time: 1665570340,
   azp: "82579…",
   aud: [
      "825799…"
   ],
   scope: "NextGenMyProfile",
   data_region: "us"
}

Identity token

{
   iss: "https://id.trimble.com",
   exp: 1665573941,
   nbf: 1665570341,
   iat: 1665570341,
   jti: "70183…",
   jwt_ver: 2,
   sub: "661f…",
   aud: "8257…",
   identity_type: "user",
   auth_time: 1665570340,
   amr: [
      "federated",
      "azure_social",
      "mfa"
   ],
   azp: "82579…",
   at_hash: "2-bNuyYEe151eRdZzBEpcw",
   federation_origin: "azure_social",
   given_name: "Prabu",
   family_name: "Ayyappan",
   email: "prabu.ayyappan@outlook.com",
   email_verified: true,
   picture: "https://us.id.trimble.com/ui/resources/default_profile.png?v=1",
   data_region: "us"
}