Skip to content

Commit 6d13218

Browse files
authored
Merge pull request #203571 from nickludwig/patch-4
update guidance for validating appid/azp
2 parents a913c94 + f5a9daf commit 6d13218

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/active-directory/develop/access-tokens.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,9 @@ Don't use mutable, human-readable identifiers like `email` or `upn` for uniquely
269269

270270
#### Validate application sign-in
271271

272-
Use the `scp` claim to validate that the user has granted the calling application permission to call the API. Ensure the calling client is allowed to call the API using the `appid` claim.
272+
* Use the `scp` claim to validate that the user has granted the calling app permission to call your API.
273+
* Ensure the calling client is allowed to call your API using the `appid` claim (for v1.0 tokens) or the `azp` claim (for v2.0 tokens).
274+
* You only need to validate these claims (`appid`, `azp`) if you want to restrict your web API to be called only by pre-determined applications (e.g., line-of-business applications or web APIs called by well-known frontends). APIs intended to allow access from any calling application do not need to validate these claims.
273275

274276
## User and application tokens
275277

0 commit comments

Comments
 (0)