jorich-2000 / simplesamlauth

Joomla Plugin package for SAML Login & Logout using SimpleSAMLphp
GNU General Public License v3.0
2 stars 0 forks source link

Installation path does not exist #2

Open yann2-0 opened 3 years ago

yann2-0 commented 3 years ago

Hello, when i install the zip in joomla package installation error where is this path? thank you

jorich-2000 commented 3 years ago

If you download from github then you just get the raw source code - see below how to create an installable package** There is working Joomla package file you can download here hhttps://oldskoolhouse.co.uk/wordpress/category/utilities/

** To create installable Joomla package from source 1- unzip the downloaded zip file 2- zip the simplesamlsso folder as plg_simplesamlsso.zip and save in simplesamlsso folder - you can remove the rest of the files in this folder now 3 - zip the simplesamlslo folder as plg_simplesamlslo.zip and save in simplesamlslo folder- you can remove the rest of the files in this folder now 4 - now zip the whole simplesamlauth folder as simplesamlauth.zip including the

yann2-0 commented 3 years ago

Thank you for your reply. successful installation but when I try to connect the error message is '' PLG_SIMPLESAML_CONFIG_DIR_UNDEFINED '' in the attribute mapping tab usually I just have username and password to enter. Sorry I'm a beginner in this field

yann2-0 commented 3 years ago

I succeeded with the environment variable however it still doesn't work when I try to connect it sends me back to the simpleaml page and when I re-enter the identifiers I get the following error:

SimpleSAML \ Error \ Error: UNHANDLEDEXCEPTION

Backtrace: 1 www / _include.php: 17 (SimpleSAML_exception_handler) 0 [builtin] (N / A) Caused by: Exception: The POST data we should restore was lost. Backtrace: 2 modules / core / www / postredirect.php: 38 (require) 1 lib / SimpleSAML / Module.php: 260 (SimpleSAML \ Module :: process) 0 www / module.php: 10 (N / A)

jorich-2000 commented 3 years ago

Have you successfully used the simplesaml page to test your authentication sources?

Jonathan


From: yann2-0 notifications@github.com Sent: Tuesday, February 2, 2021 11:59:59 AM To: jorich-2000/simplesamlauth simplesamlauth@noreply.github.com Cc: Jonathan Richardson jonathan.richardson@oldskoolhouse.co.uk; Comment comment@noreply.github.com Subject: Re: [jorich-2000/simplesamlauth] Installation path does not exist (#2)

I succeeded with the environment variable however it still doesn't work when I try to connect it sends me back to the simpleaml page and when I re-enter the identifiers I get the following error:

SimpleSAML \ Error \ Error: UNHANDLEDEXCEPTION

Backtrace: 1 www / _include.php: 17 (SimpleSAML_exception_handler) 0 [builtin] (N / A) Caused by: Exception: The POST data we should restore was lost. Backtrace: 2 modules / core / www / postredirect.php: 38 (require) 1 lib / SimpleSAML / Module.php: 260 (SimpleSAML \ Module :: process) 0 www / module.php: 10 (N / A)

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jorich-2000/simplesamlauth/issues/2#issuecomment-771586525, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACJI7GI2OEHWQ4NJUYFLBMDS47SL7ANCNFSM4WYJ64AA.

yann2-0 commented 3 years ago

yes my source of identification is working successfully. If I enter an identifier that does not exist in the simpleaml active directory tells me that the user does not exist. When I enter an existing user, he gives me the previous error message

jorich-2000 commented 3 years ago

That error looks like it is coming from the SimpleSAMLPHP component. Can you attach a screen shot of the page the error is seen on

If simplesaml is working correctly then you should be able to browse to https://yourdmain.tld/simplesaml and see something like

Use the 'Authentication' tab to check you can log in to your defined authentication source - that should respond with a list of SAML attributes and groups.

Once you are sure that is all working you can use the attribute names from this screen to populate the fields in the Joomla component (out of interest what identity provider are you connecting too?)

Jonathan

------ Original Message ------ From: "yann2-0" notifications@github.com To: "jorich-2000/simplesamlauth" simplesamlauth@noreply.github.com Cc: "Jonathan Richardson" jonathan.richardson@oldskoolhouse.co.uk; "Comment" comment@noreply.github.com Sent: Wednesday, 3 Feb, 21 At 03:47 Subject: Re: [jorich-2000/simplesamlauth] Installation path does not exist (#2)

yes my source of identification is working successfully. If I enter an identifier that does not exist in the simpleaml active directory tells me that the user does not exist. When I enter an existing user, he gives me the previous error message — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jorich-2000/simplesamlauth/issues/2#issuecomment-772201286 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJI7GKXYBQF3KFPRT6Q73TS5DBOPANCNFSM4WYJ64AA .

Regards, Jonathan Richardson

CONFIDENTIALITY NOTICE The information in this e-mail message may be confidential and for use of only the named recipient. If you are not the intended recipient the retention, dissemination, distribution or copying of this e-mail message is strictly prohibited.

yann2-0 commented 3 years ago

my source is a ldap when j enter a bad simpleaml identifier di me di although the identifier is not correct I don't see what information you want me to enter in the joomla component? sorry I'm a beginner

jorich-2000 commented 3 years ago

Before doing anything in Joomla you must get SimpleSAML installed and working - see https://simplesamlphp.org/docs/stable/simplesamlphp-install In simplesaml you will configure an authentication source to your ldap idp - see SimpleSAMLphp Identity Provider QuickStart https://simplesamlphp.org/docs/stable/simplesamlphp-idp With your idp configured you can use the 'Federation' tab of the SimpleSAMLPHP install on your website (it should be accessible via https://YOURDOMAN.TLD/simplesaml) to check the Idp - you can also use the Authentication tab to check that your are getting authenticated correctly - I cant stress enough get SimpleSAML running before you do anything in Joomla. Once you are able to authenticate in SimpleSAML send me a screen shot of the SimpleSAML Authentication and Federation pages and I will tell you what you need to enter in Joomla

Jonathan

------ Original Message ------ From: "yann2-0" notifications@github.com To: "jorich-2000/simplesamlauth" simplesamlauth@noreply.github.com Cc: "Jonathan Richardson" jonathan.richardson@oldskoolhouse.co.uk; "Comment" comment@noreply.github.com Sent: Wednesday, 3 Feb, 21 At 07:37 Subject: Re: [jorich-2000/simplesamlauth] Installation path does not exist (#2)

my source is a ldap when j enter a bad simpleaml identifier di me di although the identifier is not correct I don't see what information you want me to enter in the joomla component? sorry I'm a beginner — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jorich-2000/simplesamlauth/issues/2#issuecomment-772302788 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJI7GJ2FIPMPMLFIYR3PPLS5D4MVANCNFSM4WYJ64AA .

Regards, Jonathan Richardson

CONFIDENTIALITY NOTICE The information in this e-mail message may be confidential and for use of only the named recipient. If you are not the intended recipient the retention, dissemination, distribution or copying of this e-mail message is strictly prohibited.

yann2-0 commented 3 years ago

any response ?