Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fixes for L5
Browse files Browse the repository at this point in the history
Signed-off-by: Anand Swaminathan <[email protected]>
  • Loading branch information
anandswaminathan committed Mar 3, 2021
1 parent d65105c commit a5f5a4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/auth_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func GetL5Oauth2Config(mainConfig *oauth2.Config) oauth2.Config {
RedirectURL: "https://flyte-rs.av.lyft.net/callback",
ClientID: mainConfig.ClientID,
ClientSecret: mainConfig.ClientSecret,
Scopes: []string{OidcScope, OfflineAccessType, ProfileScope},
Scopes: mainConfig.Scopes,
Endpoint: oauth2.Endpoint{
AuthURL: mainConfig.Endpoint.AuthURL,
TokenURL: mainConfig.Endpoint.TokenURL,
Expand Down
1 change: 1 addition & 0 deletions pkg/auth/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/lyft/flytestdlib/contextutils"
"github.com/lyft/flytestdlib/errors"
"github.com/lyft/flytestdlib/logger"
"golang.org/x/oauth2"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
Expand Down

0 comments on commit a5f5a4a

Please sign in to comment.