<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5WR000014kyxf0AAOkta Classic EngineAuthenticationAnswered2025-12-31T17:50:52.000Z2025-12-15T20:29:57.000Z2025-12-31T17:50:52.000Z

KennethS.15398 (Customer) asked a question.

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 noe.

 

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?

 


  • Paul S. (Okta, Inc.)

    Hello @KennethS.15398 (Customer)​ Thank you for posting on our Community page!

     

    This question is more appropriate for our dedicated Okta Developer Forum.

    My advice would be to reach out via devforum.okta.com to take advantage of their expertise.

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
  • Paul S. (Okta, Inc.)

    Hello @KennethS.15398 (Customer)​ Thank you for posting on our Community page!

     

    This question is more appropriate for our dedicated Okta Developer Forum.

    My advice would be to reach out via devforum.okta.com to take advantage of their expertise.

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best

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