Skip to content

Commit

Permalink
Added relying_party_id env in tests for env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Herbrant committed Jun 25, 2021
1 parent cf960f9 commit 9830da1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cfg/cfg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func Test_configureFromEnvOAuth(t *testing.T) {
senv := []string{
"OAUTH_PROVIDER", "OAUTH_CLIENT_ID", "OAUTH_CLIENT_SECRET", "OAUTH_AUTH_URL", "OAUTH_TOKEN_URL",
"OAUTH_END_SESSION_ENDPOINT", "OAUTH_CALLBACK_URL", "OAUTH_USER_INFO_URL", "OAUTH_USER_TEAM_URL", "OAUTH_USER_ORG_URL",
"OAUTH_PREFERREDDOMAIN",
"OAUTH_PREFERREDDOMAIN", "OAUTH_RELYING_PARTY_ID",
}
// array of strings
saenv := []string{"OAUTH_CALLBACK_URLS", "OAUTH_SCOPES"}
Expand Down Expand Up @@ -247,6 +247,7 @@ func Test_configureFromEnvOAuth(t *testing.T) {
GenOAuth.UserTeamURL,
GenOAuth.UserOrgURL,
GenOAuth.PreferredDomain,
GenOAuth.RelyingPartyId,
}
sacfg := [][]string{
GenOAuth.RedirectURLs,
Expand Down

0 comments on commit 9830da1

Please sign in to comment.