0% found this document useful (0 votes)
46 views2 pages

GitHub SAML SSO (Personal Token, HTTPS, SSH Key)

Uploaded by

innova idealab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views2 pages

GitHub SAML SSO (Personal Token, HTTPS, SSH Key)

Uploaded by

innova idealab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Authenticating GitHub account against ​coretech ​org at GitHub

1. Sign out from all of your Google accounts including your personal Gmail (if signed in on the
same browser)
2. Sign out from your GitHub account.
3. Sign back into your IDT G Suite account (e.g. ​[email protected]​, ​[email protected]​ etc.).
4. On a separate tab of the same internet browser, sign in to​ ​https://github.com/​ using your
GitHub ID and associated password.
5. In the upper-right corner of your GitHub page, click your profile photo and then click ​Your
Profile​.
6. At the left pane, click on the ​coretech ​org under the section Organizations.
7. Next, click on the green button ​Authenticate your account​, and then click on Continue.

Your GitHub account authentication process is done. However, if you need to access the ​coretech
repos programmatically, you will need to ​authorize ​your ​Personal Access Token​ or​ SSH Key​ (as
applicable). You can find the necessary links below:

A. Personal Access Token (​for HTTPS access​):


1. Creating a personal access token for the command line​ (​Not needed, if you already have one.
Just authorize following step#2​).
2. Authorizing a personal access token for use with a SAML SSO organization.
3. Personal access tokens can only be used for HTTPS Git operations. If your repository uses
an SSH remote URL, you will need to ​switch the remote from SSH to HTTPS​.
4. If you are not prompted for your username and password, your credentials may be cached
on your computer. You can ​update your credentials in the Keychain​ (Mac) or ​Windows
Credential Manager​ (​similar to the last image at the bottom​) to replace/remove your old
password with the token.

B. SSH Key (​for SSH access​):


1. Generate an SSH key and add it to the ssh-agent on ​Windows​ ​Linux​ ​Mac
2. Add the key to your GitHub account from​ ​Windows​ ​Linux​ ​Mac
3. Authorizing an SSH key for use with a SAML SSO organization​.

For further assistance, please report your issue to ​#git_question​ slack channel.
Personal Token (​for HTTPS access​):
1. Creating a personal access token for the command line:
https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
2. Authorizing a personal access token for use with a SAML SSO organization:
https://help.github.com/articles/authorizing-a-personal-access-token-for-use-with-a-saml-single-sign-on-
organization/
3. Personal access tokens can only be used for HTTPS Git operations. If your repository uses an SSH
remote URL, you will need to switch the remote from SSH to HTTPS:
https://help.github.com/articles/changing-a-remote-s-url/#switching-remote-urls-from-ssh-to-https
4. If you are not prompted for your username and password, your credentials may be cached on your
computer. You can update your credentials in the Keychain to replace your old password with the
token.: ​https://help.github.com/articles/updating-credentials-from-the-osx-keychain

SSH Key (​for SSH access​):


1. Generate an SSH key and add it to the ssh-agent:
https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
2. Add the key to your GitHub account:
https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account
3. Authorizing an SSH key for use with a SAML SSO organization:
https://help.github.com/articles/authorizing-an-ssh-key-for-use-with-a-saml-single-sign-on-organization

You might also like