Re: [Architecture] Implementing Identifier first in authentication flow

2018-08-17 Thread Johann Nallathamby
Hi Maduranga, I am not sure if I understood scenario 2 correctly. Are you saying after the user entering the username, based on the already linked federate IdPs for that user account, we will show the login options dynamically? I was just wondering how all this is going to work with the social

Re: [Architecture] Implementing Identifier first in authentication flow

2018-08-16 Thread Senthalan Kanagalingam
Hi all, Currently, I am working on the implementation of the identifier first. I have combined the previous implementations and introduced a new concept of the "executors" in the authentication flow. The executor will be a step in the authentication flow. But the authentication flow with only

Re: [Architecture] Implementing Identifier first in authentication flow

2018-07-11 Thread Malithi Edirisinghe
Hi Maduranga, The 'onSkip' in 'promptIdentifierForStep' looks confusing. The very fist impression that I got while looking at that call back was that it denotes what needs to be executed when prompting for the identifier is skipped. But, as I understood over the discussions, the intention of

Re: [Architecture] Implementing Identifier first in authentication flow

2018-07-11 Thread Maduranga Siriwardena
After having some discussions about the current behavior, we decided below changes. - For executeStep function, we have renamed the the new callback onChangeUser to onUserAbort which will be invoked when “Not ? Login as a different user” link is clicked. - We have added new

Re: [Architecture] Implementing Identifier first in authentication flow

2018-07-09 Thread Maduranga Siriwardena
Hi all, *We have started on working with the implementation of the Identifier first login. At the moment we are working on the scenario 1 and 2 above. Below shows the flow of the authentication flow.Scenario 1Page 1Page 2Scenario 2Page 1Page 2Authentication script for the identifier first

Re: [Architecture] Implementing Identifier first in authentication flow

2018-07-05 Thread Maduranga Siriwardena
Hi all, *We had a brainstorming session to identify possible scenarios in identifier first login. We came up with below 3 scenarios based on the user experience.Scenario 1Initially user is prompted to enter the username.Based on the username entered by the user, we decide which type of

Re: [Architecture] Implementing Identifier first in authentication flow

2018-06-08 Thread Senthalan Kanagalingam
Hi all, I have implemented these proposed commonauth page changes. There are some concerns about passing the username to the type 3 page form the type 2 page or from the authenticator. We have discussed following ways and found limitations in them. 1. Pass as data in POST request - We

[Architecture] Implementing Identifier first in authentication flow

2018-06-07 Thread Senthalan Kanagalingam
Hi all, I am currently working on implementing Identifier first in authentication flow. This is not an authenticator. This will be like a pre-step which will get the hint(username) from the user and then continue the authentication steps. We can extend this to change the authentication flow based