@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | public function redirectToOauthAdminConsent(\Illuminate\Http\Request $request) |
42 | 42 | { |
43 | 43 | $url = $this->azureActiveDirectory->buildAdminConsentUrl(config('enterpriseauth.credentials.client_id'), |
44 | - config('enterpriseauth.credentials.callback_url')); |
|
44 | + config('enterpriseauth.credentials.callback_url')); |
|
45 | 45 | //return new \Illuminate\Http\RedirectResponse($url); |
46 | 46 | return redirect($url); |
47 | 47 | } |
@@ -58,8 +58,8 @@ discard block |
||
58 | 58 | public function buildAuthUrl() |
59 | 59 | { |
60 | 60 | $url = $this->azureActiveDirectory->authorizationEndpoint |
61 | - .'?' |
|
62 | - .$this->buildAuthUrlQueryString(); |
|
61 | + .'?' |
|
62 | + .$this->buildAuthUrlQueryString(); |
|
63 | 63 | |
64 | 64 | return $url; |
65 | 65 | } |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | |
102 | 102 | // Check to see if there is an intended destination url saved |
103 | 103 | $destination = $request->session() |
104 | - ->get('oauthIntendedUrl'); |
|
104 | + ->get('oauthIntendedUrl'); |
|
105 | 105 | // If there is no intended destination url, use the default |
106 | 106 | if (! $destination) { |
107 | 107 | $destination = config('enterpriseauth.redirect_on_login'); |