1.2 CIC App
In this task, we will utilize the Okta CIC Management Dashboard to set up the Glitch UI application within Okta CIC.
1. Open your CIC management dashboard
Your tenant’s management url should be similar with: https://manage.auth0.com/dashboard/<REGION>/<TENANT NAME>
, but you can access even more convenient via https://manage.auth0.com.
2. Expand the Applications Menu
3. Create an App
4. Name it and classify it
Name your app as Authfest
and select as application type: Single Page Web Application
.
5. Click on Create
6. Click the settings tab
7. Write down the app details
We will need to update the Glitch app with the domain and the client ID generated by CIC.
Note that the dashboard has a handy copy icon.
8. Update the allowed URLs
❗ Allowed Callback URLs, Allowed Logout URLs and Allowed Web Origins must be populated. ❗
Use the URL of your Glitch application. You can also use https://*.glitch.me
for this lab, though we would not recommend that for your production application!
⚠️ Whilst it is possible to use wildcards as in the image bellow, please note that it is not a good practice as the CIC application could be triggered by any app under the Glitch domain.
9. Save Changes
Scroll all the way to the bottom and click on “Save Changes”.
10. CIC now knows your app!
This task generated a CIC application, you now have a:
- Client ID
- CIC Domain to use in your Glitch App. We will use those in the next step to bring an actual login into our application.