Hello,
some while ago I wrote a plugin which authenticated my joomla users against an external database. I used the code from the gmail plugin and modified it for my purpose. This worked perfectly, users who logged in got created in the joomla users database automatically. But since an update ( I can't say which update), this does not work anymore. Users get an error message, that they are not allowed to see the private section of the site. User accounts which are also in my local Joomla Database can login, but new users can't, before they were just added to the database.
I was able to narrow it down to the code in file /plugins/user/joomla/joomla.php in function onUserLogin, in line 217 the error message is thrown, so it seems that the user can't be authorized. The user is also not created in the database. This should happen in the function _getUser, which is called in line 190.
Thanks
lal12
Labels |
Added:
?
|
Category | ⇒ | Authentication |
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Information Required |
If the user is not created then login isn't possible, you should check why the user is not created.
That's not true. If you have custom authorisation plugin you can succesfully authenticate and enable the auto-registration option in the Joomla User plugin (https://github.com/joomla/joomla-cms/blob/staging/plugins/user/joomla/joomla.php#L380-L386)
That's exactly what I did, but that's was isn't working anymore. Btw where can I view the JLog output? (https://github.com/joomla/joomla-cms/blob/staging/plugins/user/joomla/joomla.php#L384)
Did you resolve this?
If this Issue get no Response, it will be closed at 22th October 2017.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-10-22 05:30:59 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_Date | 2017-10-22 05:30:59 | ⇒ | 2017-10-22 05:31:00 |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16919
This has been closed due to lack of response to the requests above – it can always be reopened.
If the user is not created then login isn't possible, you should check why the user is not created.