Access Denied with SSO. Spring Security

Hello everyone!
I’ve got a problem with working with Camunda Cockpit in case when I add SSO using this example.

I authenticated via SSO and went to Cockpit. Next I wanted to see some task and I’ve got this problem:
“Access Denied:
Executing an action has been denied by the server. Try to refresh the page”

And I don’t know what I need to do.

Someone had issues like this?

Best Regards, Roman.

I found the solution. HttpSecurity should be disabled CSRF configuration.

2 Likes

Hi @romankh3 How did you disabled the HTTP security?

Have you done something like this

httpSecurity.csrf().disable()

But this disables the complete CSRF protection right ?