jelix / saml-module

Module for Jelix to authenticate against a SAML server
GNU Lesser General Public License v2.1
0 stars 3 forks source link

php lizmap/dev.php module:configure saml [error] Unknown module saml #10

Open tuankhanh78 opened 1 year ago

tuankhanh78 commented 1 year ago

Hi,

I'm trying to setup saml module and I get this message:

[error] Unknown module saml

Do I miss some steps ?

jelix/saml-module is already installed with composer

bash-5.1# composer require "jelix/saml-module" Info from https://repo.packagist.org: #StandWithUkraine Using version ^2.1 for jelix/saml-module ./composer.json has been updated Running composer update jelix/saml-module Loading composer repositories with package information Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Generating autoload files 1 package you are using is looking for funding. Use the composer fund command to find out more! No security vulnerability advisories found bash-5.1#

Thank for your help.

laurentj commented 1 year ago

Installing the source code of the module is not enough. You should execute some commands in order to activate it into your application. See installation instructions into the README.md file.

Which version of Jelix are you using? Or which application if this is an open source application ?

tuankhanh78 commented 1 year ago

Hi Laurent,

Thank for your reply.

I'm using Jelix version 2.0.1 and Lizmap 3.6.0

root@de9a5a60d858:/var/www/lizmap/# cat vendor/jelix/version/VERSION 2.0.1

I follow those steps for Jelix 1.7 or higher

root@de9a5a60d858:/# composer require "jelix/saml-module" Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/php/Symfony/Component/Console/Command/DumpCompletionCommand.php:48 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/php/Symfony/Component/Console/Command/DumpCompletionCommand.php:56 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/php/Composer/Autoload/AutoloadGenerator.php:879 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in /usr/share/php/Composer/Autoload/AutoloadGenerator.php:884 Using version ^2.1 for jelix/saml-module ./composer.json has been updated Running composer update jelix/saml-module Loading composer repositories with package information Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Generating autoload files 1 package you are using is looking for funding. Use the composer fund command to find out more!

root@de9a5a60d858:/var/www/lizmap# cat ./var/config/localconfig.ini.php [modules] lizmap.installparam=demo

jauth.enable=0 jauthdb.enable=0

[coordplugins] lizmap=lizmapConfig.ini.php

root@de9a5a60d858:/var/www/# php lizmap/install/configurator.php saml [error] Unknown module saml

Do you have any idea of what is missing ?

Thank for your help