OAuth, which stands for “Open Authorization” is an Authorization Protocol that allows third-party services to access secured resources, on behalf of the resource owner. Authorization is different from Authentication as Authentication is the process of verifying the user’s identity, while Authorization is the process of verifying the resources what they have access to. Therefore, OAuth is standard for allowing services trying to access one another on behalf of the user.
Here, we will see how to configure an OAuth app from GitHub.
You can create and register an OAuth App under your personal account or under any organization in which you have administrative access.
But, remember to protect your privacy by only using information that you consider sharing publicly. Avoid using sensitive data, such as internal URLs, while creating an OAuth App.
Step 1: Go to https://github.com/login and fill the details if you already have an account or sign up.
Fill the required details and Click on ‘Sign in’ button to continue.
Step 2: Now, as you are logged in, you will see your profile photo in the upper-right corner of the page. Click on the profile photo and then click on Settings.
Step 3: In the bottom of the left sidebar, click on Developer Settings.
Step 4: In the left sidebar, click “OAuth Apps“.
Step 5: Now click on “Register a new application“.
Step 6: Now, fill the details
- In “Application name“, fill the name of your app.
- In “Homepage URL“, fill the full URL to your app’s website.
- “Application Description” is optional. You can fill it to give the basic overview of your app to your users.
- At last, in “Authorization callback URL“, fill the callback URL of your app.
Step 7: Click “Register application“.
Now, your new OAuth App is registered and you will be provided with Client-ID and Client Secret ID for your app.
Note: Please don’t share Client-ID and Client Secret ID with anyone.
- How to Trigger WebHooks without Events - Probot Github App
- GitHub App to Build Form using Typeform and Probot
- GitHub App to Add or Remove Labels to Issues
- Using GitHub with SSH (Secure Shell)
- How to Upload a Project on Github?
- Issues in GitHub
- Making a Github Bot
- How to Upload Project on GitHub from Android Studio?
- How to Upload Project on GitHub from Pycharm?
- Difference Between Git and GitHub
- Sync your fork with master in GitHub
- Link your GitHub Account with R Studio
- How to Publish a Static Website on GitHub?
- How to add a README to your GitHub profile?
- Difference Between Bitbucket and GitHub
- Difference Between GitLab and GitHub
- Use of Submodules in GitHub
- How to Upload Project on GitHub from Jupyter Notebook?
- How to Clone Android Project from GitHub in Android Studio?
- Deploy Python Flask App on Heroku
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.