user_saml
user_saml copied to clipboard
xml different on the CLI and UI
Server version: 18.0.12
Diff between the two:
< <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2021-02-06T15:35:31Z" cacheDuration="PT604800S" entityID="https://xx/index.php/apps/user_saml/saml/metadata">
---
> <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2021-02-06T15:46:40Z" cacheDuration="PT604800S" entityID="https://xx/apps/user_saml/saml/metadata">
11c11
< <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://xx/index.php/apps/user_saml/saml/sls"/>
---
> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://xx/apps/user_saml/saml/sls"/>
13c13
< <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://xx/index.php/apps/user_saml/saml/acs" index="1"/>
---
> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://xx/apps/user_saml/saml/acs" index="1"/>
Using nginx results in an error. Only the UI version is working.
Current workaround:
php occ saml:metadata | sed -e "s/index.php\///g"
Have you tried setting
"htaccess.IgnoreFrontController" : true
in config.php ?