Ivan
Ivan

Reputation: 480

Questions about istio external authorization

Problem statement:

My goal is to have istio with external authorization service (ideally HTTP, if not possible than GRPC would do as well). There is a requirement to be able to control what exact status code will be returned to client on authorization service. The latter requirement is the most problematic part.

My research

Questions:

  1. Is having custom status possible only with GRPC auth service?
  2. Is istio using envoy API-V3 or API-V2?
  3. Any suggestion how to cook istio with external authorizer and custin status codes?

Upvotes: 0

Views: 799

Answers (1)

Ivan
Ivan

Reputation: 480

I made the GRPC Auth service prototype and found the answer. It is counter-intuitive but GRPC external auth service is really more flexible than HTTP one. And it really allows to set arbitrary status code

Upvotes: 1

Related Questions