From 6c0a8099c0c7cb657f8dee8d9169841f5101d1f7 Mon Sep 17 00:00:00 2001 From: Xiujiao Gao Date: Fri, 10 Nov 2017 10:03:39 -0500 Subject: [PATCH] fix enterprise oauth bug --- subkits/github-enterprise-oauth/properties.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subkits/github-enterprise-oauth/properties.yml b/subkits/github-enterprise-oauth/properties.yml index 20a546b..3cd116e 100644 --- a/subkits/github-enterprise-oauth/properties.yml +++ b/subkits/github-enterprise-oauth/properties.yml @@ -8,7 +8,9 @@ instance_groups: basic_auth_username: (( prune )) basic_auth_password: (( prune )) github_auth: - authorize: (( grab params.github.authorize )) + authorize: + - organization: (( grab params.authz_allowed_orgs )) + teams: all client_id: (( vault meta.vault "/oauth:provider_key" )) client_secret: (( vault meta.vault "/oauth:provider_secret" ))