While trying to authenticate using OAuth, the authentication seems to work, but when trying to connect to one of the sensors, the message "failed to create user" appears. Logging in to the sensor directly seems to work OK.
The length of the username was more than 32 characters
Linux has a limit of 32 characters for a username. When logging in to the Central Manager, when the authentication redirect is created to one of the sensors, there are characters appended to the username as well.
Reduce the number of characters of the username to a length less than 32 characters and attempt the login again.