title | shortTitle | allowTitleToDifferFromFilename | intro | topics | versions | autogenerated | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REST API endpoints for OAuth authorizations |
OAuth authorizations |
true |
Use the REST API to interact with {% data variables.product.prodname_oauth_apps %} and OAuth authorizations of {% data variables.product.prodname_github_apps %} |
|
|
rest |
About {% data variables.product.prodname_oauth_apps %} and OAuth authorizations of {% data variables.product.prodname_github_apps %}
You can use these endpoints to manage the OAuth tokens that {% data variables.product.prodname_oauth_apps %} or {% data variables.product.prodname_github_apps %} use to access people's accounts on {% data variables.product.github %}.
Tokens for {% data variables.product.prodname_oauth_apps %} have the prefix gho_
, while OAuth tokens for {% data variables.product.prodname_github_apps %}, used for authenticating on behalf of the user, have the prefix ghu_
. You can use the following endpoints for both types of OAuth tokens.