You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' that could not be found.
#2
Open
tonswieb opened this issue
Mar 27, 2023
· 0 comments
Hi when running the example camunda-8-process-application-backend I get the following error when starting up:
APPLICATION FAILED TO START
Description:
Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' in your configuration.
I started the example using 'mvn spring-boot:run'.
I added the following configuration:
In application.yaml I changed the following path to a path that exists on my machine (Mac OS M1):
datasource:
url: jdbc:h2:/usr/local/opt/h2dbs/insurance-application
java -version gives:
openjdk version "19.0.1" 2022-10-18
OpenJDK Runtime Environment (build 19.0.1+10-21)
OpenJDK 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)
Hi when running the example camunda-8-process-application-backend I get the following error when starting up:
APPLICATION FAILED TO START
Description:
Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' in your configuration.
I started the example using 'mvn spring-boot:run'.
I added the following configuration:
application-dev.yaml:
zeebe.client:
#broker.gatewayAddress: 127.0.0.1:26500
#security.plaintext: true
cloud:
region: dsm-1
clusterId: **********
clientId: **********
clientSecret: *********
In application.yaml I changed the following path to a path that exists on my machine (Mac OS M1):
datasource:
url: jdbc:h2:/usr/local/opt/h2dbs/insurance-application
java -version gives:
openjdk version "19.0.1" 2022-10-18
OpenJDK Runtime Environment (build 19.0.1+10-21)
OpenJDK 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)
mvn --version gives:
Java version: 19.0.2, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/19.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: nl_NL, platform encoding: UTF-8
OS name: "mac os x", version: "13.2.1", arch: "aarch64", family: "mac"
The text was updated successfully, but these errors were encountered: