Back to Explorer

GitHub OAuth endpoints

GitHub OAuth endpoints and related development resources

GitHub authorization endpoint

https://github.com/login/oauth/authorize
The endpoint to redirect users to in order to grant your application access to their account.

GitHub token endpoint

https://github.com/login/oauth/access_token
The endpoint to exchange the authorization code or refresh token for an access token and a refresh token.

GitHub userinfo endpoint

https://api.github.com/user
The standardized OAuth endpoint that returns authenticated user profile information, including claims about the current user based on the scope of access token.