added support for legacy tickets, fixed switching of modes and also style updates
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -44,7 +44,12 @@ final class NativeAuthorizationController extends Controller
|
||||
]);
|
||||
|
||||
$separator = str_contains($data['redirect_uri'], '?') ? '&' : '?';
|
||||
|
||||
\Log::info('HelpdeskMac authorization redirect', [
|
||||
'client_id' => $data['client_id'],
|
||||
'redirect_scheme' => parse_url($data['redirect_uri'], PHP_URL_SCHEME),
|
||||
'redirect_host' => parse_url($data['redirect_uri'], PHP_URL_HOST),
|
||||
'redirect_path' => parse_url($data['redirect_uri'], PHP_URL_PATH),
|
||||
]);
|
||||
return redirect()->away(
|
||||
$data['redirect_uri'].$separator.http_build_query([
|
||||
'code' => $code,
|
||||
|
||||
Reference in New Issue
Block a user