Skip to content

Commit 30cafef

Browse files
committed
Add a reasonable-looking SAML baseurl, mosty for users behind proxies
1 parent 251f2d8 commit 30cafef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Services/Saml.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ private function loadSettings()
163163
OneLogin_Saml2_Utils::setProxyVars(request()->isFromTrustedProxy());
164164

165165
data_set($settings, 'sp.entityId', config('app.url'));
166+
data_set($settings, 'baseurl', config('app.url') . '/saml');
166167
data_set($settings, 'sp.assertionConsumerService.url', route('saml.acs'));
167168
data_set($settings, 'sp.singleLogoutService.url', route('saml.sls'));
168169
data_set($settings, 'sp.x509cert', $setting->saml_sp_x509cert);

0 commit comments

Comments
 (0)