Skip to content

Commit 0554e56

Browse files
authored
Removing a reference to HTTP token
Replacing it with MSAL
1 parent c45d685 commit 0554e56

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

articles/active-directory/verifiable-credentials/get-started-request-api.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,12 @@ To get an access token, your app must be registered with the Microsoft identity
3232

3333
### Get an access token
3434

35-
Use the [OAuth 2.0 client credentials grant flow](../../active-directory/develop/v2-oauth2-client-creds-grant-flow.md) to acquire the access token using the of the Microsoft identity platform. To get a token by using the client credentials grant, send a POST request to the `/token` endpoint of the Microsoft identity platform.
36-
37-
To acquire an access token, we recommend that you use a trusted oauth library. In this tutorial, we use the Microsoft Authentication Library [MSAL](../../active-directory/develop/msal-overview.md). MSAL is a Microsoft provided library that simplifies adding authentication and authorization to your app that can call a secure web API.
35+
Use the [OAuth 2.0 client credentials grant flow](../../active-directory/develop/v2-oauth2-client-creds-grant-flow.md) to acquire the access token using the of the Microsoft identity platform. We recommend that you use a trusted oauth library. In this tutorial, we use the Microsoft Authentication Library [MSAL](../../active-directory/develop/msal-overview.md). MSAL is a Microsoft provided library that simplifies adding authentication and authorization to your app that can call a secure web API.
3836

3937
# [HTTP](#tab/http)
4038

4139
```http
42-
POST /{tenant}/oauth2/v2.0/token HTTP/1.1 //Line breaks for clarity
43-
Host: login.microsoftonline.com
44-
Content-Type: application/x-www-form-urlencoded
45-
46-
client_id=12345678-0000-0000-00000000000000000
47-
&scope=bbb94529-53a3-4be5-a069-7eaf2712b826/.default
48-
&client_secret=sampleCredentia1s
49-
&grant_type=client_credentials
40+
Pleaes refer to to the Microsoft Authentication Library (MSAL) documentation for more information on how to acquire tokens via HTTP.
5041
```
5142

5243
# [C#](#tab/csharp)

0 commit comments

Comments
 (0)