mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Add a reasonable-looking SAML baseurl, mosty for users behind proxies
This commit is contained in:
parent
251f2d82b3
commit
30cafef9f2
|
@ -163,6 +163,7 @@ class Saml
|
|||
OneLogin_Saml2_Utils::setProxyVars(request()->isFromTrustedProxy());
|
||||
|
||||
data_set($settings, 'sp.entityId', config('app.url'));
|
||||
data_set($settings, 'baseurl', config('app.url') . '/saml');
|
||||
data_set($settings, 'sp.assertionConsumerService.url', route('saml.acs'));
|
||||
data_set($settings, 'sp.singleLogoutService.url', route('saml.sls'));
|
||||
data_set($settings, 'sp.x509cert', $setting->saml_sp_x509cert);
|
||||
|
|
Loading…
Reference in a new issue