mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed ci4s oauth2接入
This commit is contained in:
@@ -5,12 +5,12 @@ module Ci4s::Service
|
||||
|
||||
def client_id
|
||||
config = Rails.application.config_for(:configuration)
|
||||
config.dig("oauth", "ci4s", "appid")
|
||||
config.dig("oauth", "ci4s", "client_id")
|
||||
end
|
||||
|
||||
def client_secret
|
||||
config = Rails.application.config_for(:configuration)
|
||||
config.dig("oauth", "ci4s", "appid")
|
||||
config.dig("oauth", "ci4s", "client_secret")
|
||||
end
|
||||
|
||||
def base_url
|
||||
|
||||
Reference in New Issue
Block a user