Skip to main content

Add the map.html Page to the Auth0 JavaScript Sample App [SSO]

This video demonstrates the configuration steps in Part 3 of the "How partners can set up a single sign-on experience with ArcGIS: part 2" blog post on Esri Canada's Resource Hub. 1. Create a new file called map.html in the /01-login/public folder of the Auth0 Sample App. 2. Navigate to the map.html file on Esri Canada’s GitHub account, linked in the blog post. 3. Copy raw contents and paste to your map.html file in /01-login/public. 4. In ArcGIS Enterprise, under the Content tab, click on your web app then click the Settings tab. 5. Under Web Mapping Application, click Registered Info. 6. Copy the App ID. You will use it in an upcoming step. 7. In the map.html file in the /01-login/public folder, replace the placeholders indicated in our blog post with URLs of your own. 8. Save your work. 9. Open /01-login.index.html. 10. Find the Home navigation item and look for the code snippet shown in our blog post. 11. Add the code provided in our blog post under the Home item. This will cause users to navigate to the map.html page. 12. Run the application. 13. Navigate to the link indicated in our blog post, log into the web application and then click on the Map tab to load the map. For more on how to implement single sign-on with ArcGIS apps, or for the URLs and code snippets described in this step-by-step method, read our blog post: [LINK TO COME] EN: To learn more, contact us: FR: Pour en savoir plus, contactez-nous :