1
0
Fork 0
mirror of synced 2024-06-25 17:50:38 +12:00

Updated default OAuth2 URLs

This commit is contained in:
Eldad Fux 2020-05-16 14:42:55 +03:00
parent 2c1df141dc
commit 13e316bc53

View file

@ -30,8 +30,8 @@ use GeoIp2\Database\Reader;
include_once __DIR__ . '/../shared/api.php';
$oauthDefaultSuccess = Config::getParam('protocol').'://'.Config::getParam('domain').'/auth/oauth2/success';
$oauthDefaultFailure = Config::getParam('protocol').'://'.Config::getParam('domain').'/auth/oauth2/failure';
$oauthDefaultSuccess = Config::getParam('protocol').'://'.$request->getServer('_APP_HOME').'/auth/oauth2/success';
$oauthDefaultFailure = Config::getParam('protocol').'://'.$request->getServer('_APP_HOME').'/auth/oauth2/failure';
$oauth2Keys = [];