1.5 Update Glitch API

1. Update the API configuration

In Glitch, go to the source code page of your Glitch API application and in the left menu panel under Files, click auth_config.json.

❗ ❗ ❗ Make sure that you’re editing your API Application! The auth_config.json may look very similar to the one of your UI app, but the two need different values! ❗ ❗ ❗

Step 1 screenshot

2. Modify auth_config.json

  • Set the audience value to api://authfest/

The end result should look like this:

{
  "domain": "authfest-feb28-firstlast.eu.auth0.com",
  "audience": "api://authfest/"
}

3. Done!

There is nothing else to see at this point, but these steps were necessary to start with the third challenge.

In this challenge, you set up a custom API within your Okta CIC tenant to enable the creation of OAuth access tokens used for accessing secured API endpoints.

Please continue to Challenge 3 where you will configure the Glitch UI app so that it can request access tokens.