Topic on Extension talk:OpenID Connect

How to best debug "Fatal error authenticating user."?

3
Summary by Kghbln

I such a case, regular error logging provided by MediaWiki should do the trick.

Kghbln (talkcontribs)

To me this appears to be a pretty stupid question.

Anyhow after trying to log in via Azure AD, I get this error right after starting the login process. Admittedly I nearly made it before without getting this error. However, I provided the wrong redirect URL for the app at Azure AD (wrong lang - the error is on me ;). After updating the redirect URL for the app at Azure AD, I instantly get the error message rather than going through all the login steps as before when using the wrong redirect URL. Something is in the water.

Anyhow, how do I get a meaningful error indication here? Error logging is enabled for the wiki however the error log remains silent.

Cindy.cicalese (talkcontribs)

My suggestion would have been to enable error logging, but clearly you've already done that.

You mentioned elsewhere using PluggableAuth 6.3. Are you able to try 7.0? It has many improvements.

Kghbln (talkcontribs)

Good to know that turning on logging is the way to debug best. This info already helps a bunch. I figured it might also come from Azure without logging on the wiki side.

PA 7.0 requires MW 1.39, but in the end, looking at the EOL of MW 1.35, it is probably best to move on to 1.39 and continue testing.