Skip to content

Commit

Permalink
feat: add grpc middleware.
Browse files Browse the repository at this point in the history
This is a middleware implementation that lets you implement your middleware
outside of Dex itself, in a separate gRPC server.

Signed-off-by: Alastair Houghton <alastair@alastairs-place.net>
  • Loading branch information
al45tair committed Oct 28, 2020
1 parent 1368f4f commit dbc87dc
Show file tree
Hide file tree
Showing 5 changed files with 914 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ proto: bin/protoc bin/protoc-gen-go
@cp api/v2/*.proto api/
@./bin/protoc --go_out=plugins=grpc:. --plugin=protoc-gen-go=./bin/protoc-gen-go api/*.proto
@./bin/protoc --go_out=. --plugin=protoc-gen-go=./bin/protoc-gen-go server/internal/*.proto
@./bin/protoc --go_out=plugins=grpc:. --plugin=protoc-gen-go=./bin/protoc-gen-go middleware/grpc/api/*.proto

.PHONY: verify-proto
verify-proto: proto
Expand Down
Loading

0 comments on commit dbc87dc

Please sign in to comment.