I have a monitor that has a okta authentication an I want to set up an API script monitor to check for status code. How can I handle the okta authentication before checking the status code itself.
There doesn’t appear to be a 3rd party module that would assist with retrieving code from a second factor like email or SMS, unless you have an email provider that exposes an API for mail retrieval. That being said, the Containerized Private Minion allows for the import of any third-party node module that may help you achieve this use case:
If you have an external service that retrieves the 2FA code / token I would recommend using that and publishing with the Secure Credentials feature using the Secure Credentials API: