nextcloud / nextcloud/user_saml
Can't see configuration page, all is in blank
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 104
- Forks
- 85
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Description
We are having a problem with the SSO & SAML authentication app. It does not load any type of configuration panel when you click it from the "Settings" menu
Steps to reproduce
- Install SSO & SAML authentication app
- Go Settings
- Click in the app
Expected behaviour
You should see the app configuration to be able to work with it
Actual behaviour
Any type of configuration appears, only the title (name of the app) is seen at the top and everything else is blank.
SSO & SAML authentication app version
5.0.2 and 5.0.3 (we try both), download from the app store
Web server:
nginx/1.22.0
PHP version:
PHP 8.0.23 (cli) (built: Sep 1 2022 22:32:41) ( NTS )
Nextcloud version:
24.0.5
NextCloud Logs:
Every time we access the app, we get the following 3 errors in the log:
Error PHP Error: Trying to access array offset on value of type null at /var/www/html/custom_apps/user_saml/templates/admin.php#202
Error PHP Error: Undefined array key 0 at /var/www/html/custom_apps/user_saml/templates/admin.php#202
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/custom_apps/user_saml/lib/SAMLSettings.php#116


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
Reproduce the blank configuration page by installing the SSO & SAML app and opening it from Settings. Start with templates/admin.php at line 202 and lib/SAMLSettings.php at line 116, then compare the reported PHP errors with the configuration data being rendered. Done means the configuration panel appears without these errors.
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