question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Always got 403 at Camunda startup

See original GitHub issue

Hi,

I’m not able to use your PlugIn. At startup of my application I got following exception:

Caused by: org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:83) ~[spring-web-5.2.1.RELEASE.jar:5.2.1.RELEASE] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:123) ~[spring-web-5.2.1.RELEASE.jar:5.2.1.RELEASE] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:102) ~[spring-web-5.2.1.RELEASE.jar:5.2.1.RELEASE] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.2.1.RELEASE.jar:5.2.1.RELEASE] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:785) ~[spring-web-5.2.1.RELEASE.jar:5.2.1.RELEASE] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:743) ~[spring-web-5.2.1.RELEASE.jar:5.2.1.RELEASE] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:677) ~[spring-web-5.2.1.RELEASE.jar:5.2.1.RELEASE] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:586) ~[spring-web-5.2.1.RELEASE.jar:5.2.1.RELEASE] at org.camunda.bpm.extension.keycloak.KeycloakIdentityProviderSession.getKeycloakAdminGroupId(KeycloakIdentityProviderSession.java:1043) ~[camunda-bpm-identity-keycloak-1.5.0.jar:1.5.0] ... 38 common frames omitted

I have an existing Keycloak server and added a new client and the admin group in my realm with all the settings out of the documentation. It seems that the login success but the request for the admin group fails.

Is there something to change in Keycloak what is missing in the documentation?

Best regards

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:25

github_iconTop GitHub Comments

1reaction
VonDerBeckcommented, May 12, 2020

I will try to reproduce what you are doing. Can you list the exact changes you made to the test Keycloak instance? As this afternoon I have different work to do - I will try to have a look at this tomorrow.

0reactions
FlowsenAusMonotowncommented, May 13, 2020

@VonDerBeck Thx a lot. Now it is working perfect.

Read more comments on GitHub >

github_iconTop Results From Across the Web

403 Error when starting process - Camunda Forum
I am trying to start a process via Rest in the “example-web” in the camunda-bpm-spring-boot-starter-example-web Application. GET on URL ...
Read more >
Camunda 403 error when rest-api request sent from ui
The same request works fine with basic auth from postman, but when i send it from the UI I get 403 error for...
Read more >
Does not work with Keycloak 8.0.1 version. · Issue #11 - GitHub
Hi, I am using keycloak 8.0.1, camunda 7.11.0, spring-boot 2.2.1 and ... startup both API's group-by-path and groups gives 403 Forbidden error.
Read more >
Camunda 403 Error When Rest-API Request Sent ... - ADocLib
A button that says 'Get it on, Google Play', and if clicked. ... The Spring boot app can be used to start a...
Read more >
Forbidden (403), Unauthorized (401), or What Else? - Auth0
401 Unauthorized is the status code to return when the client provides no credentials or invalid credentials. 403 Forbidden is the status code ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found