You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Hi,
I am trying to setup simplesamlphp for SSO authentication in our wiki portal.
I installed/extracted the simplesamlphp as per the document. Also added it to the apache configuration.
Now, when I try to access "https://xxxx.xxx.com/simplesaml" in browser, it shows as: The server returned a "404 Not Found".
In the error log, I found this error - Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET https://xxxx.xxxx.com/simplesaml/module.php/core/welcome"" at /var/simplesamlphp/vendor/symfony/http-kernel/EventListener/RouterListener.php line 135.
We have SELinux enabled and I allowed this folder(/var/simplesamlphp/public/) for web access and I believe all permissions are correct.
Also checked the route, I believe this is correct -
[root@host simplesamlphp]# php bin/console debug:router
Name Method Scheme Host Path
remove_trailing_slash GET ANY ANY /{module}/{url}
add_trailing_slash GET ANY ANY /{url}
admin-shortcut ANY ANY ANY /admin
core-welcome ANY ANY ANY /core/welcome
core-account-disco-clearchoices ANY ANY ANY /core/account/disco/clearchoices
core-legacy-login ANY ANY ANY /core/login/{as}
core-loginuserpass ANY ANY ANY /core/loginuserpass
core-loginuserpassorg ANY ANY ANY /core/loginuserpassorg
core-error-nocookie ANY ANY ANY /core/error/nocookie
core-cardinality ANY ANY ANY /core/error/cardinality
core-warning-shortssointerval ANY ANY ANY /core/warning/short_sso_interval
core-post-redirect ANY ANY ANY /core/postredirect
core-legacy-welcome ANY ANY ANY /core/frontpage_welcome.php
core-legacy-config ANY ANY ANY /core/frontpage_config.php
core-legacy-auth ANY ANY ANY /core/frontpage_auth.php
core-legacy-federation ANY ANY ANY /core/frontpage_federation.php
core-logout ANY ANY ANY /core/logout/{as}
core-logout-resume ANY ANY ANY /core/logout-resume
core-logout-iframe ANY ANY ANY /core/logout-iframe
core-logout-iframe-done ANY ANY ANY /core/logout-iframe-done
core-logout-iframe-post ANY ANY ANY /core/logout-iframe-post
core-error-report ANY ANY ANY /core/errorReport
[root@host simplesamlphp]#
Can someone suggest what to be checked here or what could be the reason?
Add a bulleted list, <Ctrl+Shift+8>Add a numbered list, <Ctrl+Shift+7>Add a task list, <Ctrl+Shift+l>
Directly mention a user or teamReference an issue or pull request
Add heading textAdd bold text, <Ctrl+b>Add italic text, <Ctrl+i>Add a bulleted list, <Ctrl+Shift+8>Add a numbered list, <Ctrl+Shift+7>Add a task list, <Ctrl+Shift+l>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
{{title}}
-
Hi,
I am trying to setup simplesamlphp for SSO authentication in our wiki portal.
I installed/extracted the simplesamlphp as per the document. Also added it to the apache configuration.
Now, when I try to access "https://xxxx.xxx.com/simplesaml" in browser, it shows as:
The server returned a "404 Not Found".
In the error log, I found this error -
Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET https://xxxx.xxxx.com/simplesaml/module.php/core/welcome"" at /var/simplesamlphp/vendor/symfony/http-kernel/EventListener/RouterListener.php line 135.
We have SELinux enabled and I allowed this folder(/var/simplesamlphp/public/) for web access and I believe all permissions are correct.
Also checked the route, I believe this is correct -
[root@host simplesamlphp]# php bin/console debug:router
Name Method Scheme Host Path
remove_trailing_slash GET ANY ANY /{module}/{url}
add_trailing_slash GET ANY ANY /{url}
admin-shortcut ANY ANY ANY /admin
core-welcome ANY ANY ANY /core/welcome
core-account-disco-clearchoices ANY ANY ANY /core/account/disco/clearchoices
core-legacy-login ANY ANY ANY /core/login/{as}
core-loginuserpass ANY ANY ANY /core/loginuserpass
core-loginuserpassorg ANY ANY ANY /core/loginuserpassorg
core-error-nocookie ANY ANY ANY /core/error/nocookie
core-cardinality ANY ANY ANY /core/error/cardinality
core-warning-shortssointerval ANY ANY ANY /core/warning/short_sso_interval
core-post-redirect ANY ANY ANY /core/postredirect
core-legacy-welcome ANY ANY ANY /core/frontpage_welcome.php
core-legacy-config ANY ANY ANY /core/frontpage_config.php
core-legacy-auth ANY ANY ANY /core/frontpage_auth.php
core-legacy-federation ANY ANY ANY /core/frontpage_federation.php
core-logout ANY ANY ANY /core/logout/{as}
core-logout-resume ANY ANY ANY /core/logout-resume
core-logout-iframe ANY ANY ANY /core/logout-iframe
core-logout-iframe-done ANY ANY ANY /core/logout-iframe-done
core-logout-iframe-post ANY ANY ANY /core/logout-iframe-post
core-error-report ANY ANY ANY /core/errorReport
[root@host simplesamlphp]#
Can someone suggest what to be checked here or what could be the reason?
--Thanks
GT
Beta Was this translation helpful? Give feedback.
All reactions