Skip to main content

I’m trying to set up a REST Model for my SurveyMonkey responses, but I’m having issues authenticating. I’ve set my Authentication Provider and Model Service with what I believe are the right settings. When I load my page it immediately asks for authorization from SurveyMonkey, which is great! But once I enter my credentials, I get the following error message: 10dd3e04e3d76163093397d5b84e04bae6dd7b10.png When I look at the URL for this popup, I see the following:


https://www.surveymonkey.com/oauth/authorize?api_key=pe3fhqdxffr3bmvg9mpkgyav&client_id=sm_broadresidency&response_type=code&redirect_uri=https%3A%2F%2Fskuid.na6.visual.force.com%2Fapex%2Fskuid__oauthcallback&display=popup&scope=&state=%7B%22client_id%22%3A%22sm_broadresidency%22%2C%22network%22%3A%22SurveyMonkey+API+Authenticator%22%2C%22display%22%3A%22popup%22%2C%22callback%22%3A%22_hellojs_3xyfq1i4%22%2C%22state%22%3A%22%22%2C%22redirect_uri%22%3A%22https%3A%2F%2Fskuid.na6.visual.force.com%2Fapex%2Fskuid__oauthcallback%22%2C%22scope%22%3A%22basic%22%2C%22oauth%22%3A%7B%22version%22%3A%222.0%22%2C%22auth%22%3A%22https%3A%2F%2Fapi.surveymonkey.net%2Foauth%2Fauthorize%3Fapi_key%3Dpe3fhqdxffr3bmvg9mpkgyav%22%2C%22grant%22%3A%22https%3A%2F%2Fapi.surveymonkey.net%2Foauth%2Ftoken%22%2C%22response_type%22%3A%22code%22%7D%2C%22oauth_proxy%22%3A%22https%3A%2F%2Fskuid.na6.visual.force.com%2Fapex%2Fskuid__oauthproxy%22%7D

It looks like there is a “display=popup” parameter in the return url that’s causing some issues for SurveyMonkey. I know I’m not setting anything like that when I set up my adapter and model services, so I suspect this is something that SKUID adds to authentication requests. Is there a way to remove this from generated authentication requests? Thanks! Eulogio

Eulogio, this is an issue with Skuid’s OAuth — there’s no way for you to remove the display parameter to workaround this. We’ll get this fixed in our next release.


Thanks for the quick response Zach! Is this something that others have been experiencing? I’d be curious to see how others have used the REST Models and OAuth.


Most services I’ve dealt with don’t complain if you include non-standard query string parameters in the OAuth authorize request — apparently SurveyMonkey is stricter than most. The “display” parameter that’s causing the issue here is necessary for some services, such as Facebook, but should not be being included for all services as it currently is. 


Got it, thanks!


Eulogio, this has been fixed in Skuid’s Rockaway release, available now from skuid.com/releases


Thanks Zach! Any word on when the release notes will be available for Rockaway?


Coming this week I believe.


Reply