Error: Policy evaluation failed for this request when running Okta-Hosted Login Page Example

I am new to OTKA, have an Integrator account and am have trouble running the OKTA samples.

I am trying to run the Okta Spring Security & Okta-Hosted Login Page Example described here.

https://github.com/okta/samples-java-spring/tree/master/okta-hosted-login

This example uses OKTA as the Authorization server; not a custom one.

I set up the application as described here: As the instructions state, I used the defaults (including naming it My Web App)

https://github.com/okta/samples-java-spring/tree/master/okta-hosted-login

The error message is clear that I have a policy problem. I assume ( but do not know) that the issue is with My Web App. Is that correct?

In My Web App there is a ‘Sign On’ tab which has a ‘User authentication’ section that has ‘Authentication policy.’ Is this the policy to which the error is referring? How do I correct it?

Did you check the Network tab to see if an API request to Okta is failing? If so, what is the request path and what is the error message?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.