Update installing-github-apps.md (#34437)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
This commit is contained in:
@@ -53,7 +53,7 @@ These steps assume you have [built a {% data variables.product.prodname_github_a
|
||||

|
||||
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.
|
||||

|
||||
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`
|
||||
|
||||
Reference in New Issue
Block a user