Username can be an e-mail
It has become possible to use the user email as username when using SSO. On the Joomla side, third-party plugins are usually used for this. On the Moodle side, the parameter must be used Allow log in via email authloginviaemail