nextcloud / nextcloud/user_saml
The provider shown is not preselected
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 104
- Forks
- 85
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Description
Steps to reproduce
- Open SSO App
- Values of first provider are displayed
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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