Changes for page OpenID Connect Authenticator
Last modified by Clément Aubin on 2024/03/25 00:08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. ludovic1 +xwiki:XWiki.ThomasMortagne
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -173,3 +173,30 @@ 173 173 174 174 * ##org.xwiki.contrib.oidc.event.OIDCUserUpdating## to modify the user profile before it being saved 175 175 * ##org.xwiki.contrib.oidc.event.OIDCUserUpdated## to do something after the user profile has been saved 176 + 177 += Troubleshooting 178 + 179 +== Enable DEBUG log == 180 + 181 +See [[platform:AdminGuide.Logging]]. 182 + 183 +The specific packages to track for OpenID Connect module is ##org.xwiki.contrib.oidc##. There is several ways to enable debug log. 184 + 185 +=== With the Logging Admin UI === 186 + 187 +Use [[Logging Admin UI>>extensions:Extension.Logging Application]] from the Administration section, add set TRACE or DEBUG level classes located in package ##org.xwiki.contrib.oidc##. 188 + 189 +{{warning}} 190 +Anything you set trough the Logging Administration won't be remembered after a restart. 191 +{{/warning}} 192 + 193 +=== With the Logback configuration file === 194 + 195 +You need to add the following in ##WEB-INF/classes/logback.xml##: 196 + 197 +{{code}} 198 +<!-- LDAP debugging --> 199 +<logger name="org.xwiki.contrib.oidc" level="trace"/> 200 +{{/code}} 201 + 202 +You need to restart XWiki for this to be taken into account.