MFA with Okta Failure - "{"res":"FAIL","msg":"Couldn't resolve host name"}"


ATTENTION Customers, All Partners and Employees: The Customer Support Portal (CSP) will be undergoing maintenance and unavailable on Saturday, November 7, 2020, from 11 am to 11 pm PST. Please read our blog for more information.

L4 Transporter

MFA with Okta Failure - "{"res":"FAIL","msg":"Couldn't resolve host name"}"

I am testing MFA with Okta. I have noticed that the firewall. I have configured everything according to one of the videos Palo Alto Networks videos on YouTube. The firewall captive portal redirection is hit and miss for http and https services. When it works as expected, I get the Palo Alto captive portal form where I could login fine with the first factor (ldap auth) however the second auth i.e. MFA is failing. The monitor -> Authentication shows first auth as a success, however, shows "Can't resolve hostname" msg for the second factor i.e. Okta MFA failure. I used the vendor url hostname and the firewall, as well as test host, can resolve it fine.  What am I missing?


> test mfa-vendors mfa-server-profile okta-mfa

Target vsys is not specified, mfa-profile is assumed to be configured under shared.

{"res":"FAIL","msg":"Couldn't resolve host name"}

I am testing the config on a PA-200 running PAN-OS 8.1.0. 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!