Pass role ARN for OIDC providers to console (#15862)

This commit is contained in:
Aditya Manthramurthy
2022-10-15 12:57:03 -07:00
committed by GitHub
parent 328d660106
commit 85fc7cea97
4 changed files with 25 additions and 18 deletions

View File

@@ -236,6 +236,7 @@ func buildOpenIDConsoleConfig() consoleoauth2.OpenIDPCfg {
Userinfo: cfg.ClaimUserinfo,
RedirectCallbackDynamic: cfg.RedirectURIDynamic,
RedirectCallback: callback,
RoleArn: cfg.GetRoleArn(),
}
}
return m