Skip to main content

All Questions

0 votes
0 answers
28 views

Spring authorization server RP-initiated logout not working

I have a project with spring gateway as oauth client for spring authorization server. Everything is working fine in terms of oidc authentication besides the logout. Logout does not work due to CORS, ...
IonutB's user avatar
  • 73
0 votes
0 answers
31 views

PrematureCloseException in netty http client

We are using Spring Cloud Gateway (spring boot 2.7.X, JDK 11) to route request. To fetch/pass OAuth2.0 token before routing, filter is added to fetch it from OAuth2.0 provider, to make secure call to ...
Arpit S's user avatar
  • 185
1 vote
1 answer
41 views

Is there a method in Spring Boot to access the data of a received OAuth2-token?

Currently I am building a Spring Cloud Gateway-application, which should act as an API-gateway between an Angular Frontend and some downstream-services. So far, the frontend logs into the gateway, ...
h.martinez's user avatar
0 votes
1 answer
133 views

Azure Ad SSO Authentication Fail and redirect back to login page then getting TOO_MANY_REDIRECTS

I am facing issue with azure ad authentication in spring cloud, I have configured the things correctly but not sure why I am facing issue. Problem: We are able to generate oauth code when we inspect ...
Raj musham's user avatar
0 votes
1 answer
467 views

Spring cloud gateway does not redirect to authorization server

I am setting up spring cloud gateway application as an OAuth2 client. In the security config class I set up some whitelist paths. If any unauthorized user wants to access any secured path, he/she ...
Erfan Ahmed's user avatar
  • 1,593
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
901 views

Angular CORS Error When Following Backend Redirect for OAuth2 Logout

I'm working on a web application that uses Angular for the frontend and a Spring Boot backend. We have implemented OAuth2 login via Microsoft's identity platform. Logging in works fine, but I've run ...
JangoCG's user avatar
  • 916
1 vote
1 answer
613 views

How to integrate a Spring MVC application with Spring Cloud Gateway with OAuth2.0 Security?

I have a Spring Boot MVC + Thymeleaf application which talks to a bunch of microservices via Spring Cloud Gateway. mvc_app -> gateway -> (service_a, service_b,...) Now, I want to implement OAuth ...
K. Siva Prasad Reddy's user avatar
0 votes
1 answer
163 views

Spring Gateway and OAuth

I need to configure a Spring Gateway to use OAuth. My use case is as follows: An external provider exposes an API to us, which needs OAuth2 token. Currently, every consumer within out network uses a ...
DGoiko's user avatar
  • 366
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
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
1 vote
2 answers
1k views

Spring Cloud Gateway OAuth2 Resource Server Backend Security

I have a Spring Boot Backend designed as Microservice Rest Backend. I User 2 Simple Modules that publish Rest interfaces with spring-data-rest. This Modules are reachable over spring Cloud Gateway (...
Dirk's user avatar
  • 21
0 votes
2 answers
1k views

How to access all sessions on a Spring webflux server instance / hook into sessions lifecycle?

I'm trying to implement a Back-Channel Logout endpoint on a Spring webflux application (spring-cloud-gateway). For that, I need to retrieve user session "statically" to: remove the ...
ch4mp's user avatar
  • 11k
0 votes
1 answer
1k views

Spring Cloud Gateway Token Relay: who is the OAuth2 client?

I'm exploring the TokenRelay filter of Spring Cloud Gateway in order to mediate between a SAML2 Session and OAuth2 Tokens (More on this in my previous question here). I've tried to figure this out ...
wileecoyote's user avatar
0 votes
1 answer
203 views

Oauth2 Login in Spring Cloud Gateway using KeyCloak

I implemented oauth2 in Spring cloud gateway using KeyCLoak. Now I want all the request are permitted except those which have "/user" in the url. Following is my security configuration @...
user3692033's user avatar

15 30 50 per page