22.214.171.124 What are the alternatives to Basic authentication
Well, the Basic authentication party is over soon, so make sure to use
alternative means of authentication before November 2020.
You can do one of two things.
- Ask your users to create a personal access token and share that with you.
- Use GitHub’s OAuth web application flow.
Now 2. is a nicer user experience, but it’s easier said that done. Luckily, I
have two blog posts lined up that will help you:
- OAuth: How to implement the OAuth web flow using a server and a client
- CLI: How to use the OAuth web flow for CLI apps.