mirror of
https://github.com/paralus/paralus.git
synced 2026-05-04 07:27:22 +00:00
Changes in this PR include - Authenticate gRPC requests - Initial file structure for authentication and authorization service - Use Auth middleware and interceptor service in usermgmt component - Authenticate HTTP request based on Kratos API token - Add Auth middleware to adminsrv component - Name the Grpc metadata fields - Maintain session data after authentication - Removed http middleware as it is not necessary - Exclude rpc methods from authentication - Handle error in auth interceptor - Revert to with cancel context - Log authentication failed requests and New function in authv3 - Initiate authContext struct in authv3 package using new public - function NewAuthContext.
27 lines
664 B
YAML
27 lines
664 B
YAML
version: v1
|
|
managed:
|
|
enabled: true
|
|
go_package_prefix:
|
|
default: github.com/RafaySystems/rcloud-base/components/common
|
|
except:
|
|
- buf.build/googleapis/googleapis
|
|
- buf.build/grpc-ecosystem/grpc-gateway
|
|
- buf.build/gogo/protobuf
|
|
- buf.build/rafay/k8s
|
|
override:
|
|
buf.build/rafay/common: github.com/RafaySystems/rcloud-base/components/common
|
|
plugins:
|
|
- name: go
|
|
out: .
|
|
opt: paths=source_relative
|
|
- name: go-grpc
|
|
out: .
|
|
opt:
|
|
- paths=source_relative
|
|
- require_unimplemented_servers=false
|
|
- name: grpc-gateway
|
|
out: .
|
|
opt: paths=source_relative
|
|
- name: openapiv2
|
|
out: gen/openapi
|