Error while connecting Pritunl client to VPN via Okta SSO

I want to enable users to connect to the VPN via okta SSO, so every VPN connection needs an Okta login plus a second multifactor instead of a PIN. I followed the below docs

But whenever I try to connect via Okta SSO, I get an internal server error(code 500). These are the exact steps I followed, did I miss anything?

Additional information should be shown in the top right logs from the Pritunl administrator web console.