chdemko / joomla-external-login

The External Login project allows Joomla! to manage external Authentication Servers
GNU General Public License v2.0
30 stars 19 forks source link

Error logging in after upgrading to 3.1.2.2 #58

Closed eddiekonczal closed 5 years ago

eddiekonczal commented 5 years ago

After upgrading the External Login Package and CAS Login Plugin from 3.1.1.0-rc3 to 3.1.2.2, I can no longer login to the front-end or back-end via CAS. Here is the error I receive:

Error Login ist not activated for this user

This occurs on Joomla! 3.9.1. Here is the system information:

Setting Value

  PHP Built On | Linux webdesign 4.4.155-94.50-default #1 SMP Tue Sep 11 13:04:00 UTC 2018 (bc8c7c0) x86_64 Database Type | mysql Database Version | 5.5.39 Database Collation | utf8_general_ci Database Connection Collation | utf8mb4_general_ci PHP Version | 7.0.7 Web Server | Apache WebServer to PHP Interface | apache2handler Joomla! Version | Joomla! 3.9.1 Stable [ Amani ] 27-November-2018 15:00 GMT Joomla! Platform Version | Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT User Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Thanks, Eddie

chdemko commented 5 years ago

Log in with a super user in the backend (/administrator/index.php?option=com_externallogin&view=users) and verify that the user can use External Login

eddiekonczal commented 5 years ago

Thanks, that worked!

Is there a way to make "External Login = authorized" the default setting for new users, or will each new Joomla! user need to be separately authorized within the External Login component?

Thanks again,

Eddie


Eddie Konczal

Unit Computing Manager

School of Arts and Sciences, IT Services

Rutgers, The State University of New Jersey

640 Bartholomew Road, Room 109

Busch Campus Piscataway, NJ 08854 848-932-6456

konczal@sas.rutgers.edu

http://sas.rutgers.edu


From: Christophe Demko notifications@github.com Sent: Wednesday, January 9, 2019 3:27 PM To: chdemko/joomla-external-login Cc: Edward Konczal; Author Subject: Re: [chdemko/joomla-external-login] Error logging in after upgrading to 3.1.2.2 (#58)

Log in with a super user in the backend (/administrator/index.php?option=com_externallogin&view=users) and verify that the user can use External Login

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchdemko%2Fjoomla-external-login%2Fissues%2F58%23issuecomment-452823800&data=02%7C01%7Ckonczal%40sas.rutgers.edu%7C36db9d1a60c94d741ee308d67670d174%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636826624253818720&sdata=G6rG%2F%2F9msVrdObDVoZXPtEFE%2B06s0yUr%2BAQUBFPzihQ%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAha3RRwHA4RycR4A7MQHWZ_4EiIzSW8_ks5vBlCWgaJpZM4Z3ybK&data=02%7C01%7Ckonczal%40sas.rutgers.edu%7C36db9d1a60c94d741ee308d67670d174%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636826624253828733&sdata=gVZUfEnsQnz%2FJsvRn9MoBTjPMGXpoSam%2B3bgzNzljlk%3D&reserved=0.

chdemko commented 5 years ago

Normally, activate "Auto-register" in the server details (administrator/index.php?option=com_externallogin&view=server&layout=edit&id=1)

eddiekonczal commented 5 years ago

Thanks; I activated "Auto-register" in the server details, but it doesn't seem to work as expected.

If I create a Joomla! account with a username matching the user's organization account in CAS, the user cannot log in unless I then "Enable/Disable Global" in External Login.

If the username does not exist in Joomla!; External Login will auto-register the user, but I then need to enable Joomla! login for that user.

What I'm hoping to accomplish is to create Joomla! accounts for new users, with usernames matching their organizational usernames (for CAS), without having to perform the additional step of running "Enable/Disable Global" in External Login after every new account is created. Is this possible?

Thanks,

Eddie


Eddie Konczal

Unit Computing Manager

School of Arts and Sciences, IT Services

Rutgers, The State University of New Jersey

640 Bartholomew Road, Room 109

Busch Campus Piscataway, NJ 08854 848-932-6456

konczal@sas.rutgers.edu

http://sas.rutgers.edu


From: Christophe Demko notifications@github.com Sent: Thursday, January 10, 2019 9:00 AM To: chdemko/joomla-external-login Cc: Edward Konczal; Author Subject: Re: [chdemko/joomla-external-login] Error logging in after upgrading to 3.1.2.2 (#58)

Normally, activate "Auto-register" in the server details (administrator/index.php?option=com_externallogin&view=server&layout=edit&id=1)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchdemko%2Fjoomla-external-login%2Fissues%2F58%23issuecomment-453105292&data=02%7C01%7Ckonczal%40sas.rutgers.edu%7Cc13a8e9b7a1f4894a26208d677040800%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636827256524968536&sdata=V4UYC4jwEJvNbLSuivCuAztKu%2B3yf9P1WoNJpo0nR3U%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAha3ReTcopJ0RDA_E17cenV-yuPreLSCks5vB0eRgaJpZM4Z3ybK&data=02%7C01%7Ckonczal%40sas.rutgers.edu%7Cc13a8e9b7a1f4894a26208d677040800%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636827256524968536&sdata=Pu2eKX13SQ2PK32gzO2UGbsPryiDLrpoZ%2BL4gc1E5io%3D&reserved=0.

chdemko commented 5 years ago

You can upload new users via http://localhost/~chdemko/joomla3812/administrator/index.php?option=com_externallogin (try the dowload button to see the file format)

eddiekonczal commented 5 years ago

I should have clarified that what we would like to do is have users created within Joomla's native "Users > Manage" (i.e. via index.php?option=com_users&view=users ) automatically be enabled in CAS. is this possible or not?

Thanks, Eddie

chdemko commented 5 years ago

Currently, it's possible for all users or none administrator/index.php?option=com_externallogin&view=users

Use Enable/Disable Global

But it's not possible to do it automatically... Perhaps a plugin (to be written) could help...

eddiekonczal commented 5 years ago

Since the original problem was resolved by this process:

I'm closing this issue.