Updated default OAuth2 URLs
This commit is contained in:
parent
2c1df141dc
commit
13e316bc53
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ use GeoIp2\Database\Reader;
|
||||||
|
|
||||||
include_once __DIR__ . '/../shared/api.php';
|
include_once __DIR__ . '/../shared/api.php';
|
||||||
|
|
||||||
$oauthDefaultSuccess = Config::getParam('protocol').'://'.Config::getParam('domain').'/auth/oauth2/success';
|
$oauthDefaultSuccess = Config::getParam('protocol').'://'.$request->getServer('_APP_HOME').'/auth/oauth2/success';
|
||||||
$oauthDefaultFailure = Config::getParam('protocol').'://'.Config::getParam('domain').'/auth/oauth2/failure';
|
$oauthDefaultFailure = Config::getParam('protocol').'://'.$request->getServer('_APP_HOME').'/auth/oauth2/failure';
|
||||||
|
|
||||||
$oauth2Keys = [];
|
$oauth2Keys = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue