Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login Workflow #5

Open
esoni88 opened this issue Apr 17, 2018 · 0 comments
Open

Login Workflow #5

esoni88 opened this issue Apr 17, 2018 · 0 comments
Assignees
Labels
workflow help workflow issue
Milestone

Comments

@esoni88
Copy link
Collaborator

esoni88 commented Apr 17, 2018

  1. perform login

  2. the auth is ok call the protected/v1/accounts api in order to get the available accounts
    for the logged usser

  3. if the available accounts size are greater than one show a "Choose Account Dialog" in order to allow to choose the account to work

  4. Save the account choosen in a localstorage. Next time at point 3 if the localstorage contain an account id contained in the response of protected/v1/accounts skip point 3

  5. call the api protected/v1/accounts/{accountId} to get all the data necessary for dashboard Ui

@esoni88 esoni88 added the workflow help workflow issue label Apr 17, 2018
@andreasonny83 andreasonny83 added this to the v1 milestone Apr 25, 2018
@andreasonny83 andreasonny83 self-assigned this May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflow help workflow issue
Projects
None yet
Development

No branches or pull requests

2 participants