nextcloud / nextcloud/user_saml

xml different on the CLI and UI

Open
#511 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
104
Forks
85
Avg merge
1d 15h
Merged PRs (30d)
16

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the XML produced by the CLI and UI for the SAML metadata, focusing on the differing URL paths and timestamps shown in the report. Reproduce the nginx setup and verify that both interfaces generate equivalent metadata and that the resulting configuration works.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.