-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Security Support #26
Comments
@singh-gurprit do you want to achieve app to app security? |
Hello @OlegDokuka, Thank you for your support. I really enjoy your book on reactive programming and your conference talks. I am trying to add user authentication and authorization to a multi-tenant distributed application. I am using keycloak for the identity management and would like to pass the user JWT token from the client app to the service where I can do fine grain authorizations based on the validated JWT token. It would be great if there is an implementation something like Spring Security Filter Chain. That way we would be able to write a custom authentication manager resolver to implement multi-tenant architecture. So, the flow I am trying to implement is:
Finally, we should be able to propagate the token to upstream services when one service call another backend service. |
Maybe we can achieve multi-tenant support by having a custom ReactiveJwtDecoder.
|
Alright. Finally, can you please provide me with your setup:
|
I have following dependencies included in the service app:
|
Hello, Thank you for the great work. Could you please add spring security support with this example. I have tried using spring-security-rsocket and configuring PayloadSocketAcceptorInterceptor but is does not work.
Here is my security config:
I am still able to call hello-service methods from hello-client without any token. There is no error thrown.
The text was updated successfully, but these errors were encountered: