Topic on Extension talk:PluggableAuth/Archive 2

"Fatal error authenticating user" on MW 1.39.3

5
Pooja2425 (talkcontribs)

HI

we are using MW version 1.39.3

PluggableAuth 6.2,

SimpleSAMLphp extension 5.0.1,

Simplesamlphp library 2.0.3


Now after Integrating Simplesaml Library AAD starts giving us results when we check on

Https://app.com/simplesaml/module.php/admin/test/default-sp

http://schemas.microsoft.com/identity/claims/ full user details .

But in reply url : Https://app.com//simplesaml/module.php/saml/sp/saml2-acs.php/default-sp

it redirect us to wiki main page with Fatal error authenticating user .

Also in SimpleSAMLphp.log log file we re getting

Could not get authentication plugin instance.

Getting PluggableAuth instance

ERROR: return to URL is null or empty

We are using only above mentioned 2 extensions + simplesaml library currently.

Do we need to add LDAPAuthentication2 for this too.


Please suggest us .

Nnyby (talkcontribs)

So, I got things to work. This seems to be a known bug documented here: https://phabricator.wikimedia.org/T322828 that was fixed just recently in PluggableAuth. So, now using the latest version of PluggableAuth 7.0-dev, as well as updating the SimpleSAMLphp extension to 7.0-dev as well, login succeeds with no errors.

Joernc unibi (talkcontribs)

LDAP and SAML are two different authentication methods, installing the LDAP module should not change anything for you. My advice for the moment is: downgrade to MW 1.39.2 - if possible.

The fact that upgrading LDAPAuthentication2 to a development version, as AVneu describes in Topic:Xghfdsqwjkfzzim5, suggests that the problem is not within the PluggableAuth module but in SimpleSAMLphp.

Nnyby (talkcontribs)

I downgraded to mediawiki 1.39.2 and I am still seeing this error in my environment, using PluggableAuth 6.2 with SimpleSAMLphp 5.0.1.

Pooja2425 (talkcontribs)

HI @Joernc unibi

after sso authentication redirect us to https://wiki/Special:PluggableAuthLogin giving error Fatal error authenticating user.

even we are authenticated, & when we click on login or main page . our username /email id is displaying on app as we r logged in .

can we redirect directly to main_page, as when we are going on main_page sso working. only issue with https://wiki/Special:PluggableAuthLogin this page, rest all pages sso working.


Seems like Login Redirect issue.

please suggest.