Skip to content

Commit

Permalink
Update microsoft.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsengelen committed Apr 23, 2021
1 parent 6533be7 commit e409364
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions microsoft.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ function getDeviceCode($clientid, $tenantid, $scope) {
'headers' => [
'Accept' => 'application/json',
'Content-Type' => 'application/x-www-form-urlencoded',
]
],
'http_errors' => false,
'verify' => false
]);


Expand Down Expand Up @@ -58,7 +60,8 @@ function getToken($clientid, $tenantid, $devicecode) {
'headers' => [
'Accept' => 'application/json',
'Content-Type' => 'application/x-www-form-urlencoded',
]
],
'verify' => false
]);

if ($response->getStatusCode() === 200) {
Expand Down

0 comments on commit e409364

Please sign in to comment.