0

Even for gadgets which work nicely elsewhere in IBM Connections, I'm getting the following error in my browser console:

 OAuth error: {"text":"","rc":403,"oauthError":"get_oauth2_accessor_problem","oauthErrorText":"","oauthErrorTrace":"\n","oauthErrorUri":"","oauthErrorExplanation":"An error occured. Ask your administrator to create an OAuth2.0 Client binding for this gadget and service.","errors":["403 Error"]}

I've followed the PDF guide Developing OpenSocial gadgets for IBM Connections 4.0. Also, is this guide still valid for IC5?

dvdsmpsn
  • 2,839
  • 1
  • 26
  • 40

1 Answers1

0

Yes, the Bootstrap page still works in IBM Connections 5.0 Be sure to edit your opensocial-config.xml (both in the deployment manager and appserver profiles)

Change any false attribute to

<developer allowIntranetProxyAccess="true" allowSSOFeature="true" enabled="true">
<developer-hosts-whitelist allServers="true">

Save the file

Restart the WidgetContainer App

It should all work then.

If you run into other issues, please add comments.

Paul Bastide
  • 1,505
  • 4
  • 17
  • 22
  • Thanks Paul. I've not got this updated yet: ` ` so will update & try again. – dvdsmpsn Jan 08 '15 at 20:21
  • That's how I've got things setup at the moment. The developer bootstrap page doesn't work though :( – dvdsmpsn Jan 09 '15 at 10:33
  • waiting on a response from team... but it should work, I understand we use this internally for testing. – Paul Bastide Jan 12 '15 at 17:39
  • also change to ... this is what we do in our automation test – Paul Bastide Jan 12 '15 at 17:57
  • Yes, I've got that set. Still not working unfortunately. I'm seeing console output like this though: `DEPRECATED: lconn.core.util.LCDeferred Use dojo.Deferred instead -- will be removed in version: 5.0` which can't be good on a v5.0 system – dvdsmpsn Jan 16 '15 at 09:53
  • it's a benign thing related to the AMD loader. Email me and we'll get a dev to look at it with you. – Paul Bastide Jan 16 '15 at 13:28
  • From Development --- Most likely scenario is that they haven't created a binding for the way the gadget runs on the Bootstrap page. It's is sensitive to the exact gadget URL, query params, etc. My suggestion is for them to look at the makeRequest that's failing and find the "gadget" param on the POST. .../opensocial/gadgets/makeRequest And then use the wsadmin commands to verify the binding exists (or create it.) http://www-01.ibm.com/support/knowledgecenter/SSYGQH_5.0.0/admin/customize/r_admin_common_oauth_config_homepage_gadgets.dita?lang=en – Paul Bastide Jan 16 '15 at 15:21