user_saml icon indicating copy to clipboard operation
user_saml copied to clipboard

xml different on the CLI and UI

Open pierreozoux opened this issue 5 years ago • 2 comments

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.

pierreozoux avatar Feb 04 '21 15:02 pierreozoux

Current workaround:

php occ saml:metadata | sed -e "s/index.php\///g"

pierreozoux avatar Feb 17 '21 18:02 pierreozoux

Have you tried setting

      "htaccess.IgnoreFrontController" : true

in config.php ?

maxbes avatar Mar 13 '21 19:03 maxbes