From the course: GitHub Actions Workshop: Create CI/CD Pipelines to Automate, Build, Test and Deploy your Application by Microsoft Press

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Review authentication in GitHub, part 1

Review authentication in GitHub, part 1

- When working with private repositories from GitHub, you will need to set up an authentication method. This also applies to public repositories when pushing changes from your local repository to the remote repository. There are two protocols that can be used for this purpose. The first one is the HTTPS protocol, and for this one, we can use either the browser or a personal access token to authenticate. In the case of the browser, a window will pop up asking us for our username and password. If these are correct, we will receive a request in our two-factor authentication application to authorize the access request. Some applications that use this type of authentication are the browser, GitHub Desktop, GitHub CLI, VS Code, and others. In the case of using a personal access token to authenticate, you must first create the token in your GitHub account where you can specify its expiration date along with the permissions or scopes for the token. This type of authentication method comes in…

Contents