After walking through the setup process to setup a sandbox account and creating a sample application using API examples provided I am unable to get past the authentication. Have tried both sandbox and production account credentials along with multiple password resets on both accounts. Code below;
string RINGCENTRAL_CLIENTID = "myClientID<used copy/paste>";
string RINGCENTRAL_CLIENTSECRET = "myClientSecrete<used copy/paste>";
string RINGCENTRAL_USERNAME = @"sandbox/prod phone #<used copy/paste>";
string RINGCENTRAL_PASSWORD = "getyourownpassword<used copy/paste>";
string RINGCENTRAL_EXTENSION = "101";
bool RINGCENTRAL_PRODUCTION = false;
RestClient restClient;
restClient = new RestClient(RINGCENTRAL_CLIENTID, RINGCENTRAL_CLIENTSECRET, RINGCENTRAL_PRODUCTION);
Task.Run(async () => await restClient.Authorize(RINGCENTRAL_USERNAME, RINGCENTRAL_EXTENSION, RINGCENTRAL_PASSWORD)).Wait();
I suspect the issue might be in my configuration within the app or site settings, but after having spent enough time digging, I am at a loss.