From a65d6ba8f1bc57d8bbe45da736ee9c22621962e5 Mon Sep 17 00:00:00 2001 From: Aditya Manthramurthy Date: Fri, 14 Oct 2022 15:46:25 -0700 Subject: [PATCH] Add Role ARN as part of OIDC provider (#2382) RoleARN needs to be used in the STS API call when present. Code to use this value needs to be added. --- pkg/auth/idp/oauth2/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/auth/idp/oauth2/config.go b/pkg/auth/idp/oauth2/config.go index 5a769cc4b..b90bdb3c1 100644 --- a/pkg/auth/idp/oauth2/config.go +++ b/pkg/auth/idp/oauth2/config.go @@ -37,6 +37,7 @@ type ProviderConfig struct { Userinfo bool RedirectCallbackDynamic bool RedirectCallback string + RoleArn string // can be empty } // GetStateKeyFunc - return the key function used to generate the authorization