Skip to content

Deprecated legacy key migration#87

Open
svanegasm wants to merge 3 commits into
nateleavitt:masterfrom
svanegasm:deprecated-legacy-key-migration
Open

Deprecated legacy key migration#87
svanegasm wants to merge 3 commits into
nateleavitt:masterfrom
svanegasm:deprecated-legacy-key-migration

Conversation

@svanegasm
Copy link
Copy Markdown

@svanegasm svanegasm commented Oct 12, 2024

These changes seek to maintain the usability of the gem according to the Legacy Api Key deprecation plan.

Ref:
Legacy Key Deprecation
Schedule for Legacy Key Deprecation
Legacy Key Migration
Personal Access Tokens & Service Account Keys

@jearbot
Copy link
Copy Markdown

jearbot commented Oct 17, 2024

Can confirm that this PR solves my issue! Forked this gem and applied these changes and all is golden.

@nateleavitt
Copy link
Copy Markdown
Owner

Hey guys.. I know this is late, but I think you can do the same thing with XML-RPC by doing the following:

Infusionsoft.configure do |config|
  config.user_agent = "CustomerHub-#{HUB_VERSION}"
  config.api_key = SAK_KEY
  config.api_url = "api.infusionsoft.com"
  config.use_oauth = true
end

The key change is adding config.use_oauth = true. I'm pretty sure this will work.

@nateleavitt
Copy link
Copy Markdown
Owner

Updated Readme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants