Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/jira_connect_helper.rb')
-rw-r--r--app/helpers/jira_connect_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/jira_connect_helper.rb b/app/helpers/jira_connect_helper.rb
index 30f29e002b8..4ddfb0224d1 100644
--- a/app/helpers/jira_connect_helper.rb
+++ b/app/helpers/jira_connect_helper.rb
@@ -19,7 +19,7 @@ module JiraConnectHelper
def jira_connect_oauth_data
oauth_authorize_url = oauth_authorization_url(
- client_id: ENV['JIRA_CONNECT_OAUTH_CLIENT_ID'],
+ client_id: Gitlab::CurrentSettings.jira_connect_application_key,
response_type: 'code',
scope: 'api',
redirect_uri: jira_connect_oauth_callbacks_url,
@@ -32,7 +32,7 @@ module JiraConnectHelper
state: oauth_state,
oauth_token_payload: {
grant_type: :authorization_code,
- client_id: ENV['JIRA_CONNECT_OAUTH_CLIENT_ID'],
+ client_id: Gitlab::CurrentSettings.jira_connect_application_key,
redirect_uri: jira_connect_oauth_callbacks_url
}
}