Update auth0-integration.md

This commit is contained in:
Robert Wallach
2018-05-07 17:03:00 -05:00
committed by GitHub
parent 34d440f60d
commit 190ae8cf8b

View File

@@ -6,15 +6,36 @@ Auth0 allows you to add a login form with user access management to your documen
## How
1. Create an account or login to [Auth0]((https://auth0.com/)
2. Select **Applications** in the Auth0 menu
![Auth0 Dashboard](https://github.com/stoplightio/docs/blob/develop/assets/images/auth0-dashboard.png?raw=true)
3. Click **+ Create Application**
4. Input a **Name** for your application
![Create Application](https://github.com/stoplightio/docs/blob/develop/assets/images/create-application.png?raw=true)
4. Input a **Name** for your application
![Create Application Details](https://github.com/stoplightio/docs/blob/develop/assets/images/application-name-single-page.png?raw=true)
5. Select **Single Page Web Applications**
6. Click **Create**
7. Select **Application Settings**
![Auth0 Settings](https://github.com/stoplightio/docs/blob/develop/assets/images/auth0-settings.png?raw=true)
8. Copy the **Client ID** and paste it in **Client ID** in Hubs
9. Copy the **Client Secret** and paste it in **Client Secrets** in Hubs
![Hubs Authorizations](https://github.com/stoplightio/docs/blob/develop/assets/images/hubs-authorization.png?raw=true)
10. Copy the **Callback URL** generated by Hubs in **Authorizations** and paste it in **Allowed Callback URLs** in Auth0
![Allowed Callback URL](https://github.com/stoplightio/docs/blob/develop/assets/images/callback-urls.png?raw=true)
11. Select **Hosted Pages** in the Auth0 menu
> Make sure **Customize Login Page** is turned on
![Hosted Pages](https://github.com/stoplightio/docs/blob/develop/assets/images/auth0-hosted-pages.png?raw=true)
12. Copy the **Hosted Login Page Address** and paste it in **Hosted Login Page** under Authorizations in Hubs
13. Click on **Build** to start the Publishing process