Update auth0-integration.md

This commit is contained in:
Robert Wallach
2018-05-08 11:02:54 -05:00
committed by GitHub
parent 190ae8cf8b
commit a54073c148

View File

@@ -23,19 +23,22 @@ Auth0 allows you to add a login form with user access management to your documen
![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
8. Copy the **Domain** and paste it in **Hosted Login Page**
9. Input a **?** at the end of the pasted **Domain** from above
10. Copy the **Client ID** and paste it after the **?** in **Hosted Login Page** from above
11. 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
12. Copy the **Callback URL** generated by Hubs in **Authorizations** and paste it in **Allowed Callback URLs** in Auth0
> Make sure the callbacks start with https instead of http and that they match
![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
13. 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
14. Click on **Build** to start the Publishing process