Hi Malaka,

Even I get the email address from the *federated user*, still, EmailOTP is
not functioning.

I have done the claim mapping as well. Facebook email calim to
http://wso2.org/claims/emailaddress claim.


Regards,
Thilina


On Wed, Sep 6, 2017 at 7:51 PM, Malaka Silva <mal...@wso2.com> wrote:

> Hi Thilina,
>
> If you don't get the email of the user do you want to fail the login or
> skip the EmailOTP? You can control this behavior with EMAILOTPMandatory
> parameter.
>
> [1] https://docs.wso2.com/display/ISCONNECTORS/Configuring+
> EmailOTP+Authenticator
>
> On Wed, Sep 6, 2017 at 5:32 PM, Thilina Madumal <thilina...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> I have configured an SP with 2 step authentication.
>> setp1: Facebook federated authenticator.
>> step2: EmailOTP authenticator.
>>
>> When I try to log in to the SP it only gives the Facebook login page.
>> Does not give the EmailOTP.
>>
>> Then I enabled JIT in Facebook IDP and tried. Still the same behavior.
>>
>> As I further investigate into the EmailOTPAuthenticator, found out that
>> the reason for this behavior is it not being able to find the email of the
>> authenticated user.
>>
>> I believe the case is the same with TOTP as well, not sure though.
>>
>> Apparently, this is a valid use-case, isn't it so?
>>
>> Thanks & Regards,
>> Thilina.
>>
>> --
>> *Thilina Madumal*
>> *Software Engineer | **WSO2*
>> Email: thilina...@wso2.com
>> Mobile: *+ <+94%2077%20767%201807>94 774553167 <077%20455%203167>*
>> Web:  <http://goog_716986954>http://wso2.com
>>
>> <http://wso2.com/signature>
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> M: +94 777 219 791 <+94%2077%20721%209791>
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 
*Thilina Madumal*
*Software Engineer | **WSO2*
Email: thilina...@wso2.com
Mobile: *+ <+94%2077%20767%201807>94 774553167*
Web:  <http://goog_716986954>http://wso2.com

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

Reply via email to