You are on page 1of 1

Github account

Email and Password:Qspider99

BEARER TOKEN

Token :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

1)Go to github rest api documentation


2)expand OVERVIEW
3)click on RESOUCES IN THE REST API
4)in the SCHEMA you will get your BASE URL
5)scroll down and click on GITHUB APP-ENABLED ENDPOINTS
6)you can see a lot of actions ,reactions,ratelimit etc so scroll down until you
get REPOS(repos)
7)

BAse URl :https://api.github.com


Endpoint : /user/repos
Http method :Post
Request Body:{
"name":"API-Eve-Repo"
}

Oauth2.0
BAse URl :https://api.github.com
Endpoint : /user/repos
Http method :Post
Request Body:{
"name":"API-Repo-oauth"
}

Authentcation:
CALL BACK URL:https://github.com
AUTH URL :https://github.com/login/oauth/authorize [ to check whether you are
valid github user or not]

ACCESS TOKEN URL :https://github.com/login/oauth/access_token


Client ID: a797e64f9d86d409c1c4
client secret :f467ed2cda26e5b58fd1b170ef743b4116ca30b3

1)open GITHUB(login) account


2)right side profile symbol and go to settings, go to dev settings
3)click on new oauth app
4)click on new oauth registration
5)give the application name and mandatory provide home page URL
6)provide AUTHORIZATION CALL BACK URL(give them properly)
7)click on oauth documentaion
8)scroll down and get request user's GITHUB identity
9)take only url of request user's GITHUB identity
10)go the next Users are redirected back to your site by GitHub
11)copy the url of Users are redirected back to your site by GitHub
12)after taking both Url, now close that tab and click on REGISTRATION
13)it will display the

You might also like