nextcloud / nextcloud/user_saml

Using federative SSO

Open
#36 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi!

We use federative SSO (structure is similar to: https://www.switch.ch/aai/about/federation/Federation_Structure.png ) . When our users are logging to service, they have to use discovery service to choose their idp so that SP is communicating with right idp. Current nexclouds user_saml app is unfortunately not enabling us such use. We tried to set URL Target of the Idp where SP will send the Auth Request Message to our discovery service and leave IdP entity empty but it's doesn't work. I don't know if onelogin php-saml library enables such use, but it would be great if you consider such implementation.

Besides that we noticed that generated meta data includes 2 parameters 'validUntil' and 'validUntil' . Is there any reason for that? When registering SP to federation this parameters have to be removed, otherwise you have to re-register metadata after it expires. It's really no need to do that as metadata doesn't change.

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

Start by reviewing the user_saml SSO configuration and the generated SAML metadata. Check whether the OneLogin PHP-SAML library supports sending authentication requests to a discovery service, and investigate why validUntil is included twice. Done should include working federated IdP discovery and metadata suitable for federation registration without unnecessary expiration renewal.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.