From 56032a6736042cb1ca578fbdfea9bb27a9da62c7 Mon Sep 17 00:00:00 2001 From: Mike Mwanje <41787587+123MwanjeMike@users.noreply.github.com> Date: Sat, 10 Jul 2021 17:42:24 +0300 Subject: [PATCH] Update migrating-oauth-apps-to-github-apps.md These changes are to include the 'Delete OAuth App' step in 'Migrating OAuth Apps to GitHub Apps' --- .../migrating-oauth-apps-to-github-apps.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/developers/apps/getting-started-with-apps/migrating-oauth-apps-to-github-apps.md b/content/developers/apps/getting-started-with-apps/migrating-oauth-apps-to-github-apps.md index 16dbb787e129..001bf0d8235d 100644 --- a/content/developers/apps/getting-started-with-apps/migrating-oauth-apps-to-github-apps.md +++ b/content/developers/apps/getting-started-with-apps/migrating-oauth-apps-to-github-apps.md @@ -40,7 +40,8 @@ These guidelines assume that you have a registered OAuth App{% ifversion fpt %} 1. [Understand the different methods of authentication](#understand-the-different-methods-of-authentication) 1. [Direct users to install your GitHub App on repositories](#direct-users-to-install-your-github-app-on-repositories) 1. [Remove any unnecessary repository hooks](#remove-any-unnecessary-repository-hooks) -1. [Encourage users to revoke access to your OAuth app](#encourage-users-to-revoke-access-to-your-oauth-app) +1. [Encourage users to revoke access to your OAuth App](#encourage-users-to-revoke-access-to-your-oauth-app) +1. [Delete the OAuth App](#delete-the-oauth-app) ### Review the available API endpoints for GitHub Apps @@ -101,3 +102,7 @@ Once your GitHub App has been installed on a repository, you should remove any u ### Encourage users to revoke access to your OAuth app As your GitHub App installation base grows, consider encouraging your users to [revoke access](/articles/authorizing-oauth-apps/) to the legacy OAuth integration. + +### Delete the OAuth App + +To avoid the OAuth App's credentials being abused, consider [deleting the OAuth App](https://docs.github.com/en/developers/apps/managing-oauth-apps/deleting-an-oauth-app). This action will also revoke all of the OAuth App's remaining authorizations.