lib/agx/content/client.rb in agx-0.2.3 vs lib/agx/content/client.rb in agx-0.2.4

- old
+ new

@@ -6,10 +6,10 @@ def initialize(client_id: nil, client_secret: nil, version: nil, prod: true) domain = (prod ? "agxplatform.com" : "qaagxplatform.com") @client_id = client_id || ENV['AGX_CONTENT_CLIENT_ID'] @client_secret = client_secret || ENV['AGX_CONTENT_CLIENT_SECRET'] @site = "https://refdata.#{domain}" - @token_url = "https://auth.#{domain}/Account/Token" + @token_url = "https://auth.#{domain}/identity/connect/token" @version = version || "v1" @client = set_client @token = { access_token: nil, expires_at: nil