Securing MuleSoft API


I’m trying to follow this link for securing MuleSoft API.

It looks like needs updating since the instructions don’t work. Firstly, when executing the command

“node okta_bootstrap --mulesoft_idp”

The problem is that there is no such file in input folder it is either mulesoft.json or mulesoft_policy.json so instead of executing above line I have passed “–mulesoft”, now further down the steps need values for headers so executing below threw further exception:

$ node update_settings --mulesoft
throw err;

Error: Cannot find module ‘/Users/mujahedsyed/work/okta/okta-api-center/update_settings’
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3

Can someone please guide/assist in resolving this issue, most likely I suspect the blog need to be updated.

Mujahed Syed

Mujahed, my apologies. I do need to make a couple of tweaks to the blog post. I will get that done as soon as I can.