Cannot login when anonymous user is activated

Hi,

we have a big problem that users cannot login on the web ui when we activate the anonymous user. Even logging out and using the login form, the user is authenticated as anonymous and not with its credentials.

Authentication via REST API works.

Could it be that anonymous authentication is tried before basic auth? Can we change this behaviour?

0 votes

1 answers

71 views

ANSWER



Hello,

The Nuxeo Platform will use the plugins in the order they are chained up until one is successful. So make sure the <plugin>ANONYMOUS_AUTH</plugin> in the <authenticationChain> is called after

<plugin>BASIC_AUTH</plugin>
<plugin>FORM_AUTH</plugin>

More info on https://doc.nuxeo.com/nxdoc/authentication-and-user-management/#authentication-chain-configuration

Regards

0 votes