From a54073c1487383301c8aa16f04a077077e51abdf Mon Sep 17 00:00:00 2001 From: Robert Wallach Date: Tue, 8 May 2018 11:02:54 -0500 Subject: [PATCH] Update auth0-integration.md --- articles/hubs/auth0-integration.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/articles/hubs/auth0-integration.md b/articles/hubs/auth0-integration.md index f284947..51d6ec2 100644 --- a/articles/hubs/auth0-integration.md +++ b/articles/hubs/auth0-integration.md @@ -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