Hello,
I was using the .NET SDK in an MVC application to add customers to InfusionSoft. I was then able to log into https://accounts.infusionsoft.com/app/central/home and see the updated customers.
However, the SDK is not supported in .NET Core and we have chosen to use this framework.
Is it possible to connect to my dashboard account using the REST api?
The SDK used the app name and generated token to call InfusionSoft.
The developer portal provides OAuth keys but i do not think that is linked with the account on the dasboard.
Any advice?
OAuth requires a client_id and a client_secret. Also, the redirectUrl is normally known by the OAuth provider.
If i complete OAuth using my developer key and secret, i am directed to the login and i use my dashboard credentials.
post = new Dictionary
{
{"client_id", _appSettings.InfusionSoftClientId}
,{"client_secret", _appSettings.InfusionSoftSecret}
,{"grant_type", "authorization_code"}
,{"code", token}
,{"redirect_uri", _redirectUrl}
};
{"error_description":"Missing or invalid service_name","error":"invalid_request","error_uri":"xml-rpc - Keap Developer Portal"}
Regards,
Daniel