Title:
[ANeff] Bug for: <cfoauth type="facebook"> throws exception when endpoints specified
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/ThirdParty
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 01/19/2015
Components: Social
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
The following throws exception "JSON parsing failure at character 1:'a' in access_token=access_token_here&expires=expires_here":
<cfoauth clientid="#clientID#" secretkey="#secretKey#" result="r" authendpoint="https://www.facebook.com/v2.2/dialog/oauth" accesstokenendpoint="https://graph.facebook.com/v2.2/oauth/access_token">
Facebook violates http://tools.ietf.org/html/rfc6749#section-5.1 by not returning JSON for this one call. However, <cfoauth> properly handles Facebook's bug when the endpoints aren't specified. So, <cfoauth> should also handle Facebook's bug when the endpoints are specified.
This issue makes <cfoauth> unusable if developer needs to specify Facebook's API version in the call.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3923044
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: