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

Merge lyft flyte 2 #156

Open
wants to merge 1 commit into
base: Lyft-Flyte
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixes for L5
Signed-off-by: Anand Swaminathan <aswaminathan@lyft.com>
anandswaminathan committed Mar 3, 2021
commit 0d1cc1d79d667d81d8cb951e9d00762f6a65b7f6
2 changes: 1 addition & 1 deletion pkg/auth/auth_context.go
Original file line number Diff line number Diff line change
@@ -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,
1 change: 1 addition & 0 deletions pkg/auth/handlers.go
Original file line number Diff line number Diff line change
@@ -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"