Secure your API with OAuth, Mulesoft, and Okta in 20 minutes

Vikas Sharma

Hi… its awesome. But somehow m not able to invoke the end point after finishing the exercise. It says unauthorized after clicking “autenticate” button. Console output :

response from API gateway:
the status code is: 401
the body is:
{
“error”: “Unauthorized”
}
the request is unauthorized
the requested endpoint is: moons
the gateway is: mulesoft
the access_token token is:
undefined

any pointers how to debug?