bssw-psip / psip-automation

PSIP self-assessment and tracking application
Other
3 stars 5 forks source link

Add sign in capability to user interface #94

Closed jarrah42 closed 2 years ago

jarrah42 commented 2 years ago

This task is to provide a sign in capability in the user interface. There functionality requires is as follows:

  1. When unauthenticated, a "Sign in" link will be visible in the top left of all pages.
  2. When authenticated, a user icon will be visible in the top left of all pages
  3. The "Sign in" link will open a modal dialog that provides a choice of service providers. Initially only GitHub will be available.
  4. Clicking on a provider will start an OAuth authentication flow
  5. Once the authentication is completed, the user will return to whichever page was visible prior to clicking on the link and the "Sign in" link will be replaced by the user icon (the state is now authenticated.)
  6. Clicking the user icon will open a popup menu with a "Log Out" option. Selecting this will return to the unauthenticated state.
jarrah42 commented 2 years ago

I believe this is completed now.