Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Sign In Flow — to code (depreciated) #698

Closed
5 of 8 tasks
mkhandekar opened this issue Jul 1, 2015 · 4 comments
Closed
5 of 8 tasks

Sign In Flow — to code (depreciated) #698

mkhandekar opened this issue Jul 1, 2015 · 4 comments

Comments

@mkhandekar
Copy link
Contributor

We discussed and iterated through the sign in flow in #617. Here are the screens to be coded for the sign in flow by @juliaelman & @harrisj. Sketch files are here.

Logging in at Integrator Site

Prior to arriving at MyUSA

Choose MyUSA or via email / external IdP
0a_agency_landing_2

User chooses to log in via email
0b_agency_email

Begin Registration / Log in at MyUSA

User chooses to log in via MyUSA. These are the log in and make an account screens (these are two different screens, see the following image for interaction)
1a_register login

How the log in and make an account screens work
1a_myusa_register login_flow

Check email

User get's a notice saying they need to check their email for the access link
1b_checkemail

User checks their email address, and clicks on Access Link
1c_email

Permissions

User sets permissions
This is when none of the toggles are selected "yes".
1d_permissions_1none

This is when one or some of the toggles are selected "yes". Note the explanation text below "Continue Sign In" changes.
1d_permissions_2some

"Why?" button hover
1d_permissionswhys1_whyselected

User clicks on "Why?" to see explanatory modal
1d_permissionswhys2_modal

Logged in

User is logged into integrator website
1f_loggedin

Logging in at MyUSA (after logging in at Integrator site first)

User chooses to log in via MyUSA. These are the log in and make an account screens (these are two different screens, see the above image for interaction)
2a_register login

Check email

User get's a notice saying they need to check their email for the access link
2b_checkemail

User checks their email address, and clicks on Access Link
2c_email

Account management

At subsequent log ins, user is taken to their dashboard/account management. Permissions page is skipped (this is account management work. nothing needs to be coded on this screen yet, just want you to know where the access link leads to.)
2d_profile

@harrisj
Copy link
Contributor

harrisj commented Jul 7, 2015

Here's a look at the Routes that currently exist and associated views that would have to be edited:

  1. The email signin for MyUSA (not to be confused with email/password signin for application) form is rendered by the sessions_controller#new method (part of the Devise gem, not in the application). This renders a login form that allows user to toggle between email or Google signin
  2. If the user does submit an email for login, that request is sent to SessionsController#create which is in the logic for MyUSA (and not a standard part of Devise). This is turn renders out the email and shows the user the almost there HTML screen

All of this stuff exists currently in the application and just needs to be restyled to match the new flow generally. The one exception is whether or not we want a method to check if the user already has registered in 18F with their email previously. This is a backend AJAX method that is specified in the new flow but it may not actually be needed as this flow is a bit confusing and might be redesigned. Waiting until I implement that part.

@harrisj
Copy link
Contributor

harrisj commented Jul 7, 2015

Just wanted to confirm something with @mkhandekar and @esgoodman. If the user navigates directly to the MyUSA login screen (ie, alpha.my.usa.gov after you have logged out), do we want to show them this exact same new layout for the Log in at MyUSA and the almost there/resend email screens? Or are their important differences for those screens on an application-directed authentication vs. directly logging into MyUSA

@jackiekazil
Copy link
Contributor

This ticket will be closed and rewritten by @mkhandekar, so I am assigning back to her. :-)

@mkhandekar
Copy link
Contributor Author

Closing this issue in favor of #735 (Sign in flow — to code) which is capturing all the moving parts of the sign in flow.

@mkhandekar mkhandekar changed the title Sign In Flow — to code Sign In Flow — to code (depreciated) Jul 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants