Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@jcansdale
Copy link
Collaborator

@jcansdale jcansdale commented Jan 28, 2019

In future only the Sign in with your browser option will work (see here). We need to remove the user/pass/2FA UI.

Sign in with browser is by far the easiest authentication method and should be encouraged where possible. In order to do this, we're placing it first in the list of login options (see #2194).

What this PR does

What this PR doesn't do

We considered only showing the Sign in with browser option when available. We decided not to do this for the following reasons.

  • A user might have multiple GitHub accounts and not want to login using the one currently active in their browser
  • There might be times where it is necessary to log in using a token (e.g to push a GitHub Action) the workflow scope is now being requested, see Request the workflow scope #2462

How to test

The GitHub and GitHub Enterprise logins should look like this:

  • GitHub
    image

  • GitHub Enterprise
    image

@grokys
Copy link
Contributor

grokys commented Jan 30, 2019

Hmm, I'm not sure this really adds much: my gaze is still going straight to the user/pass textboxes as that's what I expect from a login dialog.

What about: when opening the dialog, show a button saying "Sign in with your browser", and below it a smaller link saying "Sign in with username and password" and only when you click that button the UI changes to display the user/pass boxes?

@jcansdale
Copy link
Collaborator Author

What about: when opening the dialog, show a button saying "Sign in with your browser", and below it a smaller link saying "Sign in with username and password" and only when you click that button the UI changes to display the user/pass boxes?

That sounds good. What to you think @donokuda ? Could you pick up where I left off on this PR? 🙏

@jcansdale jcansdale changed the title [wip] Where possible only show sign in with browser option Only show Sign in with your browser option for github.com Mar 7, 2020
@jcansdale
Copy link
Collaborator Author

Obsoleted by #2469

@jcansdale jcansdale closed this Mar 12, 2020
@jcansdale jcansdale deleted the fixes/2194-prioritize-sign-in-with-browser branch March 12, 2020 00:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants