@@ -39,8 +39,8 @@ discard block |
||
| 39 | 39 | public function buildAuthUrl() |
| 40 | 40 | { |
| 41 | 41 | $url = $this->azureActiveDirectory->authorizationEndpoint |
| 42 | - .'?' |
|
| 43 | - .$this->buildAuthUrlQueryString(); |
|
| 42 | + .'?' |
|
| 43 | + .$this->buildAuthUrlQueryString(); |
|
| 44 | 44 | |
| 45 | 45 | return $url; |
| 46 | 46 | } |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | // Check to see if there is an intended destination url saved |
| 72 | 72 | $destination = $request->session() |
| 73 | - ->get('oauthIntendedUrl'); |
|
| 73 | + ->get('oauthIntendedUrl'); |
|
| 74 | 74 | // If there is no intended destination url, use the default |
| 75 | 75 | if (! $destination) { |
| 76 | 76 | $destination = config('enterpriseauth.redirect_on_login'); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | 'client_secret' => config('enterpriseauth.credentials.client_secret'), |
| 97 | 97 | 'redirect_uri' => config('enterpriseauth.credentials.callback_url'), |
| 98 | 98 | 'grant_type' => 'authorization_code', |
| 99 | - ], |
|
| 99 | + ], |
|
| 100 | 100 | ]; |
| 101 | 101 | $response = $guzzle->post($url, $parameters); |
| 102 | 102 | $responseObject = json_decode($response->getBody()); |