question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to disable Grpc Security

See original GitHub issue

In my spring boot application, using spring security, I try to disable Grpc security with the following properties config, but fail.

grpc:
  server:
    security:
      enabled: false

and I use the following config to disable security

@SpringBootApplication(exclude = GrpcServerSecurityAutoConfiguration.class)

I can’t find any doc to tell me how to disable grpc security.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jvmletcommented, May 9, 2021

@DoneSpeak , 4.5.0 released

0reactions
jvmletcommented, May 9, 2021

Set grpc.security.auth.enabled to false, will be released in 4.5.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable SecurityFilterChain for @GrpcService by default #776
I wanted to integrate gRPC service into the existing Spring Web server project, ... Is there any way to disable security for grpc...
Read more >
Server Security | grpc-spring-boot-starter - GitHub Pages
One way to secure your application is adding GrpcSecurityMetadataSource bean to your application context. It allows you to return the security conditions on...
Read more >
Authentication - gRPC
An overview of gRPC authentication, including built-in auth mechanisms, and how to plug in your own authentication systems.
Read more >
How Unsecure gRPC Implementations Can Compromise APIs
This blog discusses the security pitfalls that developers might face when shifting to gRPC and implementing gRPC in their projects.
Read more >
Quick run to secure your gRPC API with SSL/TLS - Medium
As shown in my previous blog post where I used grpc.WithInsecure() dial option. That would disable transport security for the connection.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found