From 66712fa97cda6e15383a697bf240c17f2abdddaf Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Mon, 26 Sep 2022 17:56:10 -0700 Subject: [PATCH] add back Signed-off-by: Yee Hing Tong --- auth/config/config.go | 8 ++++++++ auth/config/config_test.go | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/auth/config/config.go b/auth/config/config.go index 467ec0bed..ecdc81843 100644 --- a/auth/config/config.go +++ b/auth/config/config.go @@ -111,6 +111,14 @@ var ( Scopes: []string{"all", "offline", "access_token"}, Public: true, }, + "flytepropeller": { + ID: "flytepropeller", + Secret: []byte(`$2a$06$xAAvtAwLXh4TkB7KrkSyLuakqJjH6lOXyVd6iPQcuvuyYdeT7C.sC`), // Change this. + RedirectURIs: []string{"http://localhost:3846/callback"}, + ResponseTypes: []string{"token"}, + GrantTypes: []string{"refresh_token", "client_credentials"}, + Scopes: []string{"all", "offline", "access_token"}, + }, }, }, }, diff --git a/auth/config/config_test.go b/auth/config/config_test.go index cadbff3e6..e202df50d 100644 --- a/auth/config/config_test.go +++ b/auth/config/config_test.go @@ -12,7 +12,6 @@ import ( "github.com/flyteorg/flytestdlib/config/viper" "github.com/ghodss/yaml" - "github.com/stretchr/testify/assert" "github.com/ory/fosite"