Skip to main content

All Questions

0 votes
0 answers
35 views

Connection refused to keycloak's configuration uri from my gateway spring boot service (both running on docker)

It seems my gateway service is failing to resolve the host of my keycloak realm configuration uri (both are running locally on docker) I am able to see the page via browser on "http://localhost:...
markoss's user avatar
1 vote
1 answer
56 views

Getting IllegalStateException and ClassNotFoundException: jakarta.servlet.Filter While Using Keycloak Service with Spring Cloud Gateway

I am currently working on routing api which uses Spring Cloud Gateway library. I also want to use Keycloak for authentication purposes, but I failed to implement a proper Keycloak configuration for my ...
KaraKaplan's user avatar
0 votes
1 answer
132 views

React Native OAuth2 Backend for Frontend With Spring Cloud Gateway BFF

Hello I am using learning about OAuth. I have a react native app, and I want to connect it to my Java Spring backend, with OAuth. I used this tutorial to add OAuth to my Java backend: https://www....
Kado's user avatar
  • 13
-2 votes
1 answer
294 views

Spring Cloud Gateway with Spring Security for Register / Login using JWT Authententication. 403 Forbidden Error

I'm learning SpringBoot for a microservice application project. I'm using Keycloak Client Authentication Route with Service Accounts Role and I've added the keycloak Configuration to the API Gateway ...
Aniket Angwalkar's user avatar
0 votes
0 answers
61 views

Spring cloud gateway and Keycloak invalid credentials

I have a set up with a Spring Cloud Gateway service that redirect the requests from my frontend apps to my backend services. I want some of those requests to be authenticated, so I have a keycloak ...
jorge-plaza's user avatar
0 votes
0 answers
96 views

Keycloak policy enforcement with spring cloud gateway

I am working with Spring Cloud Gateway, built on Spring Webflux, and I aim to implement Keycloak's policy enforcement for authorization. I'm using the following Keycloak adapter: <dependency> ...
karn4's user avatar
  • 1
0 votes
1 answer
142 views

handle redirect in K8S cluster in localhost

I have K8S cluster running on my host (docker desktop) I have 6 components, each of them in it's own deployment. Each of them has service (Loadbalancer or ClusterIP) Spring API GW (host api-gw on ...
Shay Zambrovski's user avatar
0 votes
2 answers
526 views

Spring Cloud Gateway cannot authorize jwt token when request sends by Browser

I am using spring boot 3.0.2 and spring cloud gateway. also, I using spring-boot-starter-oauth2-resource-server to obtain and check jwt token on Keycloak server for security. my build.gradle file like ...
Cia Kazemi's user avatar
0 votes
1 answer
1k views

How to use Spring Cloud Gateway for both APIs and UI

I am using Spring Cloud Gateway in front of APIs and UI. I want the UI paths to trigger the oidc flow where they are presented with the login screen from keycloak and so on. But when the APIs are ...
Emtiaz's user avatar
  • 143
0 votes
1 answer
655 views

Local development with Spring Cloud Gateway and Keycloak for frontend developers

I have a problem with local development for our frontend developers in context of security. Prerequisites: Frontend App on ReactJS Keycloak as IdP provider (OpenID Connect) Standard authorization ...
Yury's user avatar
  • 13
0 votes
1 answer
255 views

Spring Cloud Gateway + KeyCloak Giving 404 Not Found Error

We have a microservice architecture using spring boot. Hence we have a microservic, a Spring api-gateway and a running instance of Keycloak for managing authentication and authorization. In the ...
Dhruv Kapur's user avatar
1 vote
1 answer
1k views

Trying to make a POST request using Keycloak. Says CSRF token is missing

I've setup a Keycloak server using a docker-compose file: auth-db: image: postgres:13.5 environment: POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_USER: my_admin ...
Treefrog's user avatar
0 votes
1 answer
277 views

Invalid credentials when Spring Gateway logs in into KeyCloak

UPDATED FULL DESCRIPTION Hello all again, I am currently developing a demo prototype to secure a spring service through a Spring Gateway against a Keycloak. In a first step without any security ...
Richter's user avatar
  • 35
1 vote
0 answers
270 views

Dockerized Keycloak gives CORS errors

I have a spring cloud gateway application running on port 8080. I have a dockerized Keycloak instance on port 8888. I am in development environment on my own computer. I cannot get documentation ...
çağla boynueğri's user avatar
0 votes
1 answer
1k views

How to structure Spring Cloud Gateway, Keycloak and React js

I am working on a microservice application powered by Spring Boot in the backend and React Js in the front. I am using Spring Cloud Gateway to proxy requests to downstream services and standalone ...
Yaphet17's user avatar
  • 125

15 30 50 per page
1
2 3 4 5