GitHub OAuth endpoints

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.

GitHub OAuth documentation and resources

Building OAuth apps Authorizing OAuth apps Scopes for OAuth apps List email addresses for the authenticated user