The name sent in the email address is configurable. There are separate
place holders for username, userstore and tenant domain. You can use one or
more of the above.

However when logging in it is expected to behave like carbon admin console.
I.e. tenant domain is mandatory and user store domain is optional. If you
don't give user store it will go in a chain and authenticate.

If you haven't enabled EnableEmailUserName in carbon.xml you must provide
tenant domain even for super tenant that is the expected behaviour.

So questions is why you cannot login to without giving userstore domain?

On Fri, Oct 28, 2016 at 3:27 PM, Ayesha Dissanayaka <[email protected]> wrote:

> Hi,
>
> In IS-5.3.0-M5, configured a secondary user-store _TEST_ and added a user
> with username "ayesha" into TEST domain. Then updated profile information,
> Firstname, Lastname and email accordingly. Now from dashboad app when
> trying to recover username for this user, the email sent to ayesha's email
> address says the username is "ayesha".
>
> However, we cannot login to dashboad with username "ayesha" as it is in
> secondary user-store. Instead has to use TEST/ayesha as the username.
>
> In this case shouldn't the recovery email send the username along with
> domain name.(ex: TEST/ayesha)?
>
> Similarly, when email username is used (ex: [email protected]) in-order to
> login to dashboard app need to provide tenant domain as well. (i.e.
> [email protected]@carbon.super). But recovery email sends the username as "
> [email protected]" which is not able to log-into dashboard.
>
> What should be the correct behavior here?
>
> [Note: To enable email user-names, I only changed relavent reg-ex in
> user-mgt.xml.  Didn't enable EnableEmailUserName property in carbon.xml,
> since it blocks working with tenant users]
>
> Thanks!
> -Ayesha
>
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: [email protected] <[email protected]>
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777776950*
Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to