diff --git a/graph-requests-samples/authentication/get access token.bru b/graph-requests-samples/authentication/get access token.bru index 39204a6..8fd6f00 100644 --- a/graph-requests-samples/authentication/get access token.bru +++ b/graph-requests-samples/authentication/get access token.bru @@ -6,15 +6,9 @@ meta { get { url: - body: formUrlEncoded auth: oauth2 } -headers { - Content-Type: application/x-www-form-urlencoded - SdkVersion: postman-graph/v1.0 -} - auth:oauth2 { grant_type: client_credentials access_token_url: https://login.microsoftonline.com/{{tenantPrefix}}.onmicrosoft.com/oauth2/v2.0/token @@ -23,13 +17,6 @@ auth:oauth2 { scope: https://graph.microsoft.com/.default } -body:form-urlencoded { - grant_type: client_credentials - client_id: {{clientId}} - client_secret: {{clientSecret}} - scope: https://graph.microsoft.com/.default -} - vars:post-response { accessToken: res.body.access_token }