Skip to content

Commit 6f65a23

Browse files
authored
Merge pull request #100137 from tobias-graf-p/patch-1
Fixed some typos in userinfo.md
2 parents af0e43d + 6e1c481 commit 6f65a23

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/active-directory/develop/userinfo.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ ms.custom: aaddev
1717

1818
# Microsoft identity platform UserInfo endpoint
1919

20-
Part of the OpenID Connect (OIDC) standard, the [UserInfo endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo) is returns information about an authenticated user. In the Microsoft identity platform, the UserInfo endpoint is hosted by Microsoft Graph at https://graph.microsoft.com/oidc/userinfo.
20+
As part of the OpenID Connect (OIDC) standard, the [UserInfo endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo) returns information about an authenticated user. In the Microsoft identity platform, the UserInfo endpoint is hosted by Microsoft Graph at https://graph.microsoft.com/oidc/userinfo.
2121

2222
## Find the .well-known configuration endpoint
2323

2424
You can find the UserInfo endpoint programmatically by reading the `userinfo_endpoint` field of the OpenID configuration document at `https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration`. We don't recommend hard-coding the UserInfo endpoint in your applications. Instead, use the OIDC configuration document to find the endpoint at runtime.
2525

26-
The UserInfo endpoint is typically called automatically by [OIDC-compliant libraries](https://openid.net/developers/certified/) to get information about the user.From the [list of claims identified in the OIDC standard](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims), the Microsoft identity platform produces the name claims, subject claim, and email when available and consented to.
26+
The UserInfo endpoint is typically called automatically by [OIDC-compliant libraries](https://openid.net/developers/certified/) to get information about the user. From the [list of claims identified in the OIDC standard](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims), the Microsoft identity platform produces the name claims, subject claim, and email when available and consented to.
2727

2828
## Consider using an ID token instead
2929

@@ -33,7 +33,7 @@ If you require more details about the user like manager or job title, call the [
3333

3434
## Calling the UserInfo endpoint
3535

36-
UserInfo is a standard OAuth bearer token API hosted by Microsoft Graph. Call the UserInfo endpoint as you would any Microsoft Graph API by using the access token your application received when it requested access to Microsoft Graph. The UserInfo endpoint returns a JSON response containing claims about the user.
36+
UserInfo is a standard OAuth bearer token API hosted by Microsoft Graph. Call the UserInfo endpoint as you would call any Microsoft Graph API by using the access token your application received when it requested access to Microsoft Graph. The UserInfo endpoint returns a JSON response containing claims about the user.
3737

3838
### Permissions
3939

@@ -69,11 +69,11 @@ Authorization: Bearer eyJ0eXAiOiJKV1QiLCJub25jZSI6Il…
6969
```jsonc
7070
{
7171
"sub": "OLu859SGc2Sr9ZsqbkG-QbeLgJlb41KcdiPoLYNpSFA",
72-
"name": "Mikah Ollenburg", // names all require the “profile” scope.
72+
"name": "Mikah Ollenburg", // all names require the “profile” scope.
7373
"family_name": " Ollenburg",
7474
"given_name": "Mikah",
7575
"picture": "https://graph.microsoft.com/v1.0/me/photo/$value",
76-
"email": "[email protected]" //requires the “email” scope.
76+
"email": "[email protected]" // requires the “email” scope.
7777
}
7878
```
7979

0 commit comments

Comments
 (0)