This is getting reproduced to me as well. Even appending the tenant domain
does not work. Seems like we will have to fix this.

Thanks,  & Regards,
Mushthaq

On Tue, Jan 23, 2018 at 7:26 PM, Isuru Uyanage <isur...@wso2.com> wrote:

> Hi Chamin,
>
> I provided the below details in self-signup to the API Store[1]. When I
> provide the username and password as usual I could log in.
>
> As per doc, by above configuration enabled, user should be able to
> login to the API Store by providing email address as well as the username.
> Therefore I provided the email address as the username used in self-sign up
> process in order to login to the API Store. Please correct me if I have
> done anything wrong.
>
> [1] - signup.png
>
>
> Thanks,
> Isuru
>
>
>
>
> *Thanks and Best Regards,*
>
> *Isuru Uyanage*
> *Software Engineer - QA | WSO2*
> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
> <https://www.linkedin.com/in/isuru-uyanage/>*
>
>
>
>
> On Tue, Jan 23, 2018 at 6:56 PM, Chamin Dias <cham...@wso2.com> wrote:
>
>> Did you provide the tenant domain in the user name? Normally this might
>> happen when we do not specify the tenant domain.
>>
>> On Tue, Jan 23, 2018 at 6:46 PM, Isuru Uyanage <isur...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I'm configuring the setup for primary and secondary logins to the API
>>> Store as in [1]. As per the doc, it says users can use either username or
>>> email address in order to login to the API Store. I followed the below
>>> steps.
>>>
>>> 1. Self-signed up to the API Store.
>>> 2. As in the doc, enabled login config property in
>>> <APIM_HOME>/repository/conf/api-manager.xml file.
>>>
>>> <LoginConfig>
>>>     <UserIdLogin primary="true">
>>>          <ClaimUri></ClaimUri>
>>>     </UserIdLogin>
>>>     <EmailLogin primary="false">
>>>          <ClaimUri>http://wso2.org/claims/emailaddress</ClaimUri>
>>>     </EmailLogin>
>>>  </LoginConfig>
>>>
>>> 3. Restarted the APIM server.
>>> 4. Tried to login to API Store with the email address provided.
>>>
>>> I get the following error.
>>>
>>> ERROR - APIStoreHostObject Invalid tenant domain.
>>>
>>> Any feedback would be appreciated if I've missed anything.
>>>
>>> [1] - https://docs.wso2.com/display/AM2xx/Maintaining+Logins+and
>>> +Passwords
>>> Section: Setting up primary and secondary logins
>>> Product: apim-2.1.0-update 6
>>>
>>>
>>> *Thanks and Best Regards,*
>>>
>>> *Isuru Uyanage*
>>> *Software Engineer - QA | WSO2*
>>> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
>>> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
>>> <https://www.linkedin.com/in/isuru-uyanage/>*
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Chamin Dias
>> Mobile : 0716097455
>> Email : cham...@wso2.com
>> LinkedIn : https://www.linkedin.com/in/chamindias
>>
>>
>


-- 
Mushthaq Rumy
*Software Engineer*
Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
Email : musht...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.

<http://wso2.com/signature>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to