Comments (4)
I managed to get that working by excluding javax.ws.rs
from Eureka client dependency in build.gradle
file:
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client' exclude group: 'javax.ws.rs'
My setup is org.springframework.boot 2.4.2
, spring-cloud-dependencies 2020.0.1
, embedded keycloak 2.4.0
.
You may try a similar approach with Maven.
FYI check out https://gitlab.com/spring-cloud-infrastructure/authorization-server/-/blob/master/build.gradle#L41 for more info.
from embedded-spring-boot-keycloak-server.
Later in the project i start to use docker version of keycloak :)
from embedded-spring-boot-keycloak-server.
Yeah, I found that as a suitable solution as well, however, I still feel more comfortable with embedding it, especially when I want to do some custom magic around, such as externalize configuration with Spring Config Server, distributed tracing with Sleuth and Zipkin, or implementing a custom Protocol Mapper, etc..
from embedded-spring-boot-keycloak-server.
Maybe in the future they would be nice things to try but for the current state of the project the docker container is the ideal solution since we don't have big needs and it also integrates well with the library we use for authentication with Angular at the expense of discovery, admin, tracing, etc ...
from embedded-spring-boot-keycloak-server.
Related Issues (20)
- Unable to add new user HOT 5
- Error on upgrade to 5.0.2 HOT 2
- error ldap test connection
- default import of theme folder is disabled?
- With keycloak >=15.1.x and above resteasy.allowGzip must be "false" HOT 3
- [5.0.2] too many redirects HOT 6
- CVE-2021-4133 Security vulnerability
- Could not find unique implementation of liquibase.executor.Executor. Found 0 implementations HOT 1
- How to configure KeyCloak Remote User Storage SPI in Spring Boot Embedded KeyCloak HOT 1
- java.nio.file.NoSuchFileException: myproject-0.0.0.jar!\BOOT-INF\lib\keycloak-model-jpa-18.0.0.jar HOT 1
- How to upgrade embdedded-spring-boot-keycloak-server to Keycloak 19.0.0. HOT 9
- How to use this setup behind a reverse proxy? HOT 1
- java.lang.ClassCastException HOT 1
- Anybody updating this to 19 or 20?
- Persisting the database
- Embed Keycloak in regular spring mvc application (i.e: not spring-boot) HOT 1
- Cluster embbeded keycloak usin Kubernetes, Admin UI is disfigured
- too many redirects
- With embedded keycloak how do you recomend calling the API? Via Rest even though it's on same server?
- Request for Upgrading Keycloak to 22.0.0 and Spring Boot to 3.0.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from embedded-spring-boot-keycloak-server.