Skip to content

Commit

Permalink
back out the changes that added Authorizer
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet authored and github-actions committed Jun 20, 2024
1 parent ee6423e commit 87f3f34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/auth/grpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -5732,7 +5732,6 @@ func NewGRPCServer(cfg GRPCServerConfig) (*GRPCServer, error) {
// modifies the tls.Config.NextProtos which causes problems due to multiplexing on the auth
// listener.
creds, err := NewTransportCredentials(TransportCredentialsConfig{
Authorizer: cfg.Authorizer,
TransportCredentials: &httplib.TLSCreds{Config: cfg.TLS},
UserGetter: cfg.Middleware,
GetAuthPreference: cfg.AuthServer.Cache.GetAuthPreference,
Expand Down
1 change: 0 additions & 1 deletion lib/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -6392,7 +6392,6 @@ func (process *TeleportProcess) initSecureGRPCServer(cfg initSecureGRPCServerCfg

tlsConf := copyAndConfigureTLS(serverTLSConfig, process.log, cfg.accessPoint, clusterName)
creds, err := auth.NewTransportCredentials(auth.TransportCredentialsConfig{
Authorizer: authorizer,
TransportCredentials: credentials.NewTLS(tlsConf),
UserGetter: authMiddleware,
GetAuthPreference: cfg.accessPoint.GetAuthPreference,
Expand Down

0 comments on commit 87f3f34

Please sign in to comment.