The cause of this issue is because https://github.com/xwiki-contrib/xwiki-authenticator-trusted/blob/f719d3322527ebc5e61ca0fcdf4ba882efd35974/xwiki-authenticator-trusted-api/src/main/java/org/xwiki/contrib/authentication/internal/DefaultTrustedAuthenticationConfiguration.java#L246C1-L246C116 will always produce an array of a minimal size of 1, this will lead to an incomplete Dynamic Role Configuration being registered.
The authenticator is also configured to end authentication with public access if any dynamic role configuration is invalid. |
|