Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

User Login using GitHub [13] [5] #304

Closed
10 tasks done
michaelkleinhenz opened this issue Sep 28, 2016 · 12 comments
Closed
10 tasks done

User Login using GitHub [13] [5] #304

michaelkleinhenz opened this issue Sep 28, 2016 · 12 comments

Comments

@michaelkleinhenz
Copy link
Collaborator

michaelkleinhenz commented Sep 28, 2016

Description

As a user, I want to identify myself at the system using my GitHub login.

Functional Acceptance Criteria

  1. The user can log in the system by selecting a login operation and is presented with a login screen that accepts his GitHub login information.
  2. Upon successful authentication, the user is returned to the view where he selected the login operation.
  3. When opening the application and the user has been authenticated before, the user is automatically logged in and continues to the selected area/page/view of the application.
  4. UX implementation as defined by the UX team (Workflow).

Note: failed authentication behaviour is omitted due to the authentication handled by GitHub on the tech level. Not (currently) in the scope of this project.
Note: without authentication, an anonymous user can view read-only all public content on the system.

Non-functional Acceptance Criteria

  1. The login button/facility is easily reachable from anywhere in the application.
  2. The authentication information is retained in a secure way.
  3. The user should only need to (re-)authenticate when he has logged out.
  4. The application should be able to preserve authentication information between visits.

Discussions

Tasks

@kwk
Copy link
Collaborator

kwk commented Sep 28, 2016

Good issue!

When the user is opening the main page of the application and has not been authenticated before, he is presented a login screen that accepts his GitHub login information.

I think we wanted to have the page at least partially browse-able without logging in. Don't we @aslakknutsen ?

Upon successful authentication, the user is presented the work item list view.

Shouldn't the user be presented with whatever page he was previously visiting?

@aslakknutsen
Copy link
Contributor

I think we wanted to have the page at least partially browse-able without logging in. Don't we @aslakknutsen ?

Yes we do

Shouldn't the user be presented with whatever page he was previously visiting?

Sounds like a good idea

@nimishamukherjee
Copy link

Upon successful authentication, the user is returned to the view where he selected the login operation

Do we have a login screen, like http://demo.almighty.io/#/login?
If yes, then there would be another scenario - user log in from the login page, and is taken to a default landing page.

@nimishamukherjee
Copy link

After the user logs in using Git Hub, we can get the fullName and imageUrl from Git Hub (core has a user API in place for this)
Would displaying of fullName be part of this story? If yes, we need to define the UX for this.

@michaelkleinhenz
Copy link
Collaborator Author

@nimishamukherjee I would put the display of the currently logged in user in an extra story, because UX told us the login stuff is already done.

@michaelkleinhenz
Copy link
Collaborator Author

@kwk @aslakknutsen done, updated the story.

@ldimaggi
Copy link

When a user logs in, is he/she taken to the login page (http://demo.almighty.io/#/login), or is a login dialog shown?

@michaelkleinhenz
Copy link
Collaborator Author

@ldimaggi no there is no login page by itself, just a login button that starts the GitHub authN process. This would open some kind of authentication dialog with GitHub and possibly just the login screen of GitHub.

@ldimaggi
Copy link

Question on:
Note: without authentication, an anonymous user can view read-only all public content on the system.

How is content designated as "public?"

@michaelkleinhenz
Copy link
Collaborator Author

@ldimaggi all content is public if not defined otherwise :-)
But yes, that refers to a concept that we don't have right now.

aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 11, 2016
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 15, 2016
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 15, 2016
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 16, 2016
Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes fabric8-services#20, fabric8-services#219, fabric8-services#321, fabric8-services#325, fabric8-services#327, fabric8-services#328, fabric8-services#337
Related fabric8-services#304
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 16, 2016
Login entrypoint mounted on /api/login/authorize

Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes fabric8-services#20, fabric8-services#219, fabric8-services#321, fabric8-services#325, fabric8-services#327, fabric8-services#328, fabric8-services#337
Related fabric8-services#304
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 16, 2016
Login entrypoint mounted on /api/login/authorize

Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes fabric8-services#20, fabric8-services#219, fabric8-services#321, fabric8-services#325, fabric8-services#327, fabric8-services#328, fabric8-services#337
Related fabric8-services#304
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 16, 2016
Login entrypoint mounted on /api/login/authorize

Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes fabric8-services#20, fabric8-services#219, fabric8-services#321, fabric8-services#325, fabric8-services#327, fabric8-services#328, fabric8-services#337
Related fabric8-services#304
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 17, 2016
Login entrypoint mounted on /api/login/authorize

Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes fabric8-services#20, fabric8-services#219, fabric8-services#321, fabric8-services#325, fabric8-services#327, fabric8-services#328, fabric8-services#337
Related fabric8-services#304
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 17, 2016
Login entrypoint mounted on /api/login/authorize

Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes fabric8-services#20, fabric8-services#219, fabric8-services#321, fabric8-services#325, fabric8-services#327, fabric8-services#328, fabric8-services#337
Related fabric8-services#304
aslakknutsen added a commit to aslakknutsen/fabric8-wit that referenced this issue Oct 17, 2016
Login entrypoint mounted on /api/login/authorize

Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes fabric8-services#20, fabric8-services#219, fabric8-services#321, fabric8-services#325, fabric8-services#327, fabric8-services#328, fabric8-services#337
Related fabric8-services#304
pranavgore09 pushed a commit to pranavgore09/fabric8-wit that referenced this issue Oct 18, 2016
@michaelkleinhenz michaelkleinhenz changed the title User Login using GitHub [13] User Login using GitHub [13] [5] Oct 18, 2016
aslakknutsen added a commit that referenced this issue Oct 18, 2016
Login entrypoint mounted on /api/login/authorize

Login entry point mounted on /api/login/authorize

Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes #20, #219, #321, #325, #327, #328, #337
Related #304
@AdamJ
Copy link

AdamJ commented Oct 19, 2016

@michaelkleinhenz Here is the workflow for the Log In: https://redhat.invisionapp.com/share/8K8FFFIEC#/screens

pranavgore09 pushed a commit to pranavgore09/fabric8-wit that referenced this issue Oct 20, 2016
…ces#229)

Login entrypoint mounted on /api/login/authorize

Login entry point mounted on /api/login/authorize

Contributed-by Konrad Kleine <kwk@users.noreply.github.com>
Contributed-by Shoubhik Bose <sbose78@gmail.com>
Contributed-by Pranav Gore <pranavgore09@gmail.com>

Fixes fabric8-services#20, fabric8-services#219, fabric8-services#321, fabric8-services#325, fabric8-services#327, fabric8-services#328, fabric8-services#337
Related fabric8-services#304
@michaelkleinhenz
Copy link
Collaborator Author

Done.

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

6 participants