1
0
mirror of synced 2026-01-04 09:06:46 -05:00

Update installing-github-apps.md (#34437)

Co-authored-by: Sarah Edwards <skedwards88@github.com>
This commit is contained in:
Lou Nelson Jr
2023-02-07 19:08:42 -05:00
committed by GitHub
parent ab589848fc
commit f2365f767c

View File

@@ -53,7 +53,7 @@ These steps assume you have [built a {% data variables.product.prodname_github_a
![Homepage URL](/assets/images/github-apps/github_apps_homepageURL.png)
3. GitHub provides a landing page for your app that includes a link to your app's "Homepage URL." To visit the landing page on GitHub, copy the URL from "Public link" and paste it into a browser.
![Public link](/assets/images/github-apps/github_apps_public_link.png)
4. Create a homepage for your app that includes the app installation URL: `{% data variables.product.oauth_host_code %}/apps/<app name>/installations/new`.
4. Create a homepage for your app that includes the app installation URL: `{% data variables.product.oauth_host_code %}/{% ifversion ghes or ghae %}github-apps{% else %}apps{% endif %}/<app name>/installations/new`.
## Authorizing users during installation
@@ -66,4 +66,4 @@ You can provide a `state` parameter in an app's installation URL to preserve the
To preserve a state, add it to the installation URL:
`{% data variables.product.oauth_host_code %}/apps/<app name>/installations/new?state=AB12t`
`{% data variables.product.oauth_host_code %}/{% ifversion ghes or ghae %}github-apps{% else %}apps{% endif %}/<app name>/installations/new?state=AB12t`