mirror of
https://github.com/System-End/theseus.git
synced 2026-04-20 00:35:18 +00:00
relative URL
This commit is contained in:
parent
c6458c3bd7
commit
85f03b60ba
1 changed files with 3 additions and 3 deletions
|
|
@ -38,9 +38,9 @@ class HCB::OauthConnectionsController < ApplicationController
|
|||
@hcb_oauth_client ||= OAuth2::Client.new(
|
||||
Rails.application.credentials.dig(:hcb, :client_id),
|
||||
Rails.application.credentials.dig(:hcb, :client_secret),
|
||||
site: hcb_api_base,
|
||||
authorize_url: "/oauth/authorize",
|
||||
token_url: "/oauth/token",
|
||||
site: "#{hcb_api_base}/api/v4/",
|
||||
authorize_url: "oauth/authorize",
|
||||
token_url: "oauth/token",
|
||||
)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue