Comments (10)
I am currently updating to Spring boot 3.2.0. And faced the exact same issue. Our standart rest api security ended up breaking grpc, we don't do grpc security. Did you find a way to fix this issue?
from grpc-spring-boot-starter.
Disabled grpc security in properties which did the trick.
grpc:
security:
auth:
enabled: false
from grpc-spring-boot-starter.
Right, @alicanhaman, this is the way till 3.2.0 is supported.
from grpc-spring-boot-starter.
So grpc security doesn't work with 3.2.0 at all? When will 3.2.0 be supported? Is there a workaround in the mean time?
from grpc-spring-boot-starter.
@jvmlet is there any plan to support Spring 3.2.0? what's the blocker here in terms of security? Anyway I can help?
from grpc-spring-boot-starter.
Hi, yes, planned.
Basically, they removed the filter that drives authentication , I asked spring security team to resurrect this class, but no 😒
What needs to be done is to copy-paste the base class of grpc security interceptor (the essential part of it)
from grpc-spring-boot-starter.
@jvmlet will you accept PRs?
from grpc-spring-boot-starter.
@sheinbergon, sure, בשמחה
FYI spring-projects/spring-security#13444
from grpc-spring-boot-starter.
https://grpc-ecosystem.github.io/grpc-spring/ started supporting spring boot 3.2.0
from grpc-spring-boot-starter.
I just bumped to 3.3 (security 6.3), and it seems to work, so I will close that ticket.
from grpc-spring-boot-starter.
Related Issues (20)
- Spring Boot 3 and gRPC HOT 1
- 5.0.0 to 5.1.4 changes status exception behaviour HOT 13
- Upgrade grpc to 1.58
- spring cloud config problem HOT 3
- Does it support mTLS while registering services to Consul ? HOT 1
- Buggy interceptors @Order annotation processing HOT 5
- Spring Security Keycloak integration HOT 5
- Order annotation for @GRpcGlobalInterceptor not working correctly when using 'org.springframework.boot.autoconfigure.AutoConfiguration.imports'
- `SecurityInterceptor` extends a deprecated interface (6.1.4) HOT 3
- actuator/health/grpc endpoint continue reporting grpc services as SERVING even if grpc server has been stopped HOT 1
- Stream closed before write could take place HOT 1
- Using custom implementation for auth token ,How to leverage security context holder to get authentication if token is not changed for subsequent request HOT 1
- Request level bean creation
- grpc default executor not overriding in server builder
- Security API enhancements #2
- Update grpc dependencies from 1.58.0 to 1.62.* or later
- Update gRPC to 1.63 due to client retry fixed in this version of gRPC HOT 1
- Project EOL? HOT 5
- @Preauthorized annotation not working HOT 6
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 grpc-spring-boot-starter.