Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Conversation

@StanleyGoldman
Copy link
Contributor

No description provided.


<img src="images/github-authenticate.png" alt="GitHub menu item in the Window menu" width="350px"/>

If your account requires Two Factor Authencation. You will be prompted for your auth code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Authentication is mispelled, and if the phrase starts with an If, then it should have a comma, not a period.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈


<img src="images/github-two-factor.png" alt="GitHub menu item in the Window menu" width="350px"/>

Before you authenticate, you must already have a GitHub account.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds a bit forceful. Perhaps "You will need to create a GitHub account before you can sign in, if you don't have one already"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I copied a lot of content from the Visual Studio docs.

@@ -0,0 +1,35 @@
# Authenticating to GitHub

## How to login to GitHub
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The action is sign in, so all our docs should use the same action name and not mix login and sign in


## How to login to GitHub

1. In Unity find the **GitHub** window. If you can't find it, you can switch to it by choosing **GitHub** from the **Window** menu.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not as straightforward as it could be. Just saying "Open the GitHub window by going to the top level Window menu and selecting GitHub, as shown below" might work better.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


### Personal access tokens

If all signin options above fail, you can manually create a personal access token and use it as your password.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's only one sign in option available, so "if all signin options above fail" is misleading.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


The scopes for the personal access token are: `user`, `repo`.
- *user* scope: Grants access to the user profile data. We currently use this to display your avatar and check whether your plans lets you publish private repositories.
- *repo* scope: Grants read/write access to code, commit statuses, invitations, collaborators, adding team memberships, and deployment statuses for public and private repositories and organizations. This is needed for all git network operations (push, pull, fetch), and for getting information about the repository you're currently working on.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should note that some versions ask for gist and write:public_key, because that's what the asset store version asks for and we haven't shipped any releases that don't

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Handled in #828

@shana shana merged commit d1bf04c into master Jun 13, 2018
@shana shana deleted the docs/authentication branch June 13, 2018 13:52
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.

3 participants