src/Keboola/OAuth/OAuthController.php
protected function getCallbackUrl(Request $request)
    {
        $selfUrl = $this->getSelfUrl($request);
        if (substr($selfUrl, -9) == "-callback") {
            return $selfUrl;
        } else {
            return $selfUrl . "-callback";
        }
    }
protected function getCallbackUrl(Request $request)
    {
        $selfUrl = $this->getSelfUrl($request);
        if (substr($selfUrl, -9) == "-callback") {
            return $selfUrl;
        } else {
            return $selfUrl . "-callback";
        }
    }
protected function getCallbackUrl ( Request $ request ) { $ selfUrl = $ this -> getSelfUrl ( $ request ) ; if ( substr ( $ selfUrl , - 9 ) == "-callback" ) { return $ selfUrl ; } else { return $ selfUrl . "-callback" ; } }
Get the callback URL

@param Request $request
@return string
Get the callback URL