This component was developed to allow users to use a user attribute (eg: email, phone number) as username when logging in with basic authentication instead of the immutable username which WSO2 IS has by default
This has occurred since we have obtained the tenant id from the username itself. But it is better to avoid it and use the service provider tenant domain since SaaS use-cases are rare and it is odd to enter usernames like below