nextcloud / nextcloud/user_saml

The provider shown is not preselected

Open
#624 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Steps to reproduce
  1. Open SSO App
  2. Values of first provider are displayed
  3. Change any value of the provider
Expected behaviour

The changed value should be applied to the displayed provider.

Actual behaviour

The error message "Metadata invalid" will be shown at the botton of the site. When I switch from the SSO app to another and back again, a new provider has been created. This provider only contains the value I changed the the previous (current) provider. I suppose that the message "Metadata invalid" refered to this new provider which was not displayed before.

Keep in mind that the behaviour does not occur, if I select the provider when I open the SSO app. But because all values of the provider are displayed I assume I can change the values without to select it first.

Server configuration

Operating system: Debian 11

Web server: Apache 2.4

Database: MariaDB 10

PHP version: 7.4

Nextcloud version: (see Nextcloud admin page) 21.0.9 (SSO-App: 5.0.1)

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 reproducing the SSO app flow with the first provider displayed, changing a value without selecting it, and then repeating it after explicitly selecting the provider. Trace the provider selection and form-submission handling; done means the changed value is applied to the displayed provider without creating a new provider or showing “Metadata invalid.”

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.