Skip to content

Commit de5deb4

Browse files
Merge pull request #246350 from kengaderdus/explain-idtyp
[CIAM]Update content related to idtyp optional claim
2 parents e7d8259 + 402e064 commit de5deb4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

articles/active-directory/external-identities/customers/how-to-web-app-node-sign-in-call-api-prepare-tenant.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: active-directory
1010
ms.workload: identity
1111
ms.subservice: ciam
1212
ms.topic: how-to
13-
ms.date: 05/22/2023
13+
ms.date: 07/26/2023
1414
ms.custom: developer, devx-track-js
1515
---
1616

@@ -56,7 +56,7 @@ In this step, you create the web and the web API application registrations, and
5656

5757
[!INCLUDE [active-directory-b2c-app-integration-add-user-flow](./includes/register-app/add-app-role.md)]
5858

59-
### Configure optional claims
59+
### Configure idtyp token claim
6060

6161
[!INCLUDE [active-directory-b2c-app-integration-add-user-flow](./includes/register-app/add-optional-claims-access.md)]
6262

articles/active-directory/external-identities/customers/includes/register-app/add-optional-claims-access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ author: kengaderdus
33
ms.service: active-directory
44
ms.subservice: ciam
55
ms.topic: include
6-
ms.date: 03/30/2023
6+
ms.date: 07/26/2023
77
ms.author: kengaderdus
88
---
99

10-
Tokens returned by Microsoft identity are kept smaller to ensure optimal performance by clients that request them. As a result, several claims are no longer present in the token by default and must be asked for specifically on a per-application basis. For this app, you include **idtyp** optional claim. This claim is the most accurate way for an API to determine if a token is an app token or an app+user token. For example, the value of this claim is *app* when the token is an app-only token.
10+
Tokens returned by Microsoft identity are kept smaller to ensure optimal performance by clients that request them. As a result, several claims are no longer present in the token by default and must be asked for specifically on a per-application basis. For this app, you include **idtyp** optional claim to help the web API to determine if a token is an app token or an app+user token. Although a combination of **scp** and **roles** claims can used for the same purpose, the use of the **idtyp** claim is the easiest way to tell an app token and an app+user token apart. For example, the value of this claim is *app* when the token is an app-only token.
1111

1212
Use the following steps to configure **idtyp** optional claim:
1313

articles/active-directory/external-identities/customers/tutorial-daemon-dotnet-call-api-prepare-tenant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In this tutorial, you learn how to:
3232

3333
[!INCLUDE [active-directory-b2c-app-integration-add-user-flow](./includes/register-app/add-app-role.md)]
3434

35-
## 3. Configure optional claims
35+
## 3. Configure idtyp token claim
3636

3737
[!INCLUDE [active-directory-b2c-app-integration-add-user-flow](./includes/register-app/add-optional-claims-access.md)]
3838

articles/active-directory/external-identities/customers/tutorial-daemon-node-call-api-prepare-tenant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ If you've already registered a client daemon application and a web API in the Mi
3939

4040
[!INCLUDE [active-directory-b2c-app-integration-add-user-flow](./includes/register-app/add-app-role.md)]
4141

42-
## Configure optional claims
42+
## Configure idtyp token claim
4343

4444
[!INCLUDE [active-directory-b2c-app-integration-add-user-flow](./includes/register-app/add-optional-claims-access.md)]
4545

0 commit comments

Comments
 (0)