OAuth 2.0 policy evaluation failed Skip to main content
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Krzysztof KarskiKrzysztof Karski 

OAuth 2.0 policy evaluation failed

I have a bit of a problem. I'm trying to integrate with Okta OAuth 2.0 and OIDC but I've run into a wall.
When trying to sign user in and obtain the access code (access code grant flow) I am getting this error:
"args": {
    "error": "access_denied", 
    "error_description": "Policy evaluation failed for this request, please check the policy configurations.", 
    "state": "test"

I would be really thankful if anyone could point me in the right direction as to where and how should I set the correct policy configurations. This happens after successfully logging the user in to Okta.
Krzysztof KarskiKrzysztof Karski
Nevermind. This article helped me move forward: https://developer.okta.com/blog/2017/03/21/spring-boot-oauth
Agustin CelentanoAgustin Celentano
Can you specify how you solved it? I am facing the same issue and checked the above URL but no luck. Thanks. 
Agustin CelentanoAgustin Celentano
This is my default policy