Hi Gayan,

Thanks for the suggestion.

Yes its better to provide a configuration to change the number of retry
attempts. Apart from the above mentioned behavior, we will consider this
also in the implementation.

Thanks,

On Tue, May 8, 2018 at 9:31 AM gayan gunawardana <[email protected]>
wrote:

>
>
> On Mon, May 7, 2018 at 7:17 PM, Maduranga Siriwardena <[email protected]>
> wrote:
>
>> Hi devs,
>>
>> In the Identity Server at the moment "retryAuthenticationEnabled" method
>> in the authenticators decide whether the user is allowed to retry the
>> authentication with that particular authenticator. Based on the result from
>> this method, authenticator itself triggers the retry flow.
>>
>> Because of this we have a main disadvantage for the implementation of
>> adaptive authentication. If retry is enabled, fail call back function in
>> JavaScript is not triggered.
>>
>> So we are planning to change this behavior and send the authentication
>> retry flow through the authentication framework. Below is the planned
>> behavior.
>>
>>    - Authenticator will retry to authenticate by default.
>>    - If the fail callback function has other steps to execute,
>>    authenticator will not retry to authenticate.
>>    - Developers can disable retry for a authentication sequence by
>>    setting a parameter in the context.
>>
>> Isn't it better to invoke fail callback function after pre-configured
> number of retry attempts.
>
>> Please provide us with feedback what need to be changed from the above
>> mentioned behavior.
>>
>> Thanks,
>> --
>> Maduranga Siriwardena
>> Senior Software Engineer
>> WSO2 Inc; http://wso2.com/
>>
>> Email: [email protected]
>> Mobile: +94718990591
>> Blog: *https://madurangasiriwardena.wordpress.com/
>> <https://madurangasiriwardena.wordpress.com/>*
>> <http://wso2.com/signature>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Gayan
>


-- 
Maduranga Siriwardena
Senior Software Engineer
WSO2 Inc; http://wso2.com/

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

Reply via email to