nextcloud / nextcloud/user_saml

Can't see configuration page, all is in blank

Open
#655 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug regression
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
  1. Install SSO & SAML authentication app
  2. Go Settings
  3. 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

Captura de pantalla 2022-09-16 a las 12 30 44
Captura de pantalla 2022-09-16 a las 12 30 05

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.