You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am fairly confident that "invalid_credentials" is a red herring here.
It all works fine and I get an access code if I follow the manual example in the myob-api gem. I have other oauth integrations however, so I would prefer not to manually craft this.
My config is fairly straightforward:
Rails.application.config.middleware.use OmniAuth::Builder do
:myob,
ENV['MYOB_API_CONSUMER_KEY'],
ENV['MYOB_API_CONSUMER_SECRET'],
redirect_uri: ENV['MYOB_API_AUTH_CALLBACK_URI']
)
end
Reproduction steps:
Expected result:
It should redirect to my successful callback endpoint where I can get an access code for API access.
Actual Result:
It redirects to a failure callback. The following errors are in the logs:
I am fairly confident that "invalid_credentials" is a red herring here.
It all works fine and I get an access code if I follow the manual example in the myob-api gem. I have other oauth integrations however, so I would prefer not to manually craft this.
My config is fairly straightforward:
The relevant gems I am using are:
The text was updated successfully, but these errors were encountered: