01-20-2017 03:07 AM
I have followed the guide and now all I see is loading ...
Any idea what wrong I might have done?
01-20-2017 10:09 AM
Do you have a pop up blocker? Did a new tab/window open? If so, did you get the spark login page? Did you fill out the section in the *.js and oauth.html? Need more details to help.
Also, what version of the gadget are you using? Does the version of the gadget match the Finesse version?
01-22-2017 11:52 PM
1- No I don't have any pop-up blocker.
2- No new window or tab
3- I filled the section .js and oauth.html as document states.
* The updated files are
oauth.html and SparkTeamAnnouncements.js
4- Using Finesse 10.5 and using SparkTeamAnnouncementsSampleGadget
Yes, gadget and finesse are of the same version.
01-23-2017 09:57 AM
Hi,
In both your files, the Finesse domain is the FQDN and not the IP address. Also, you say that you are using 10.5, but a 10.5 version was not released for the SparkTeamAnnouncementsSampleGadget. The link you gave is for 10.6. If you are indeed on 10.5, you can follow this blog by reversing the instructions: How to convert your existing 10.5.1 custom gadget to work with 10.6.1, 11.0.1, or 11.5.1.
Thanx,
Denise
04-10-2017 12:28 PM
04-10-2017 05:43 PM
Thanks to another developer I was able to determine my issue was the redirect URI.
After I got it working I could see what the spark integration instructions meant.
The redirect URI needs to be https://uccx01.mydomain.com:8445/3rdpartygadget/files/SparkTeamAnnouncements/oauth.html
06-01-2017 05:46 AM
I am running into the same exact issue. I am seeing the gadget render however, it appears stuck in the loading state.
For my Finesse Domain I am just using MyCompany.com (Tried it both with the Hostname.Domain and I get the same results)
For the redirectURL I am using the location of downloaded Oauth.html that is hosted on an IIS Web Server.
Any suggestions would be appreciated.
Steve
06-01-2017 09:39 AM
Hi Steve,
Can you give more details of your problem?
1) Does the popup for spark login open?
2) When using the browser developer tools, what do you see in the console? Is the gadget able to find the Spark access token?
For the finesseDomain, MyCompany.com is correct. If you put the redirectURL into the browser, do you see some text?
Also, try to clear your browser cookies and try again.
Thanx,
Denise
06-07-2017 09:15 AM
Thank you for responding. When I launch Finesse I do get a pop-up to log into spark and that seems to work just fine.
I do not appear to get an access Token.
2017-06-07T09:11:58.721 -07:00: : ucctrnuccx.ucctrn.com: Jun 07 2017 09:12:07.305 -0700: SparkTeamAnnouncementsGadget : _getAccessToken(): Getting the access token concat:15437:17
2017-06-07T09:11:58.721 -07:00: : ucctrnuccx.ucctrn.com: Jun 07 2017 09:12:07.305 -0700: SparkTeamAnnouncementsGadget : _getAccessToken(): Unable to retrieve the access token concat:15437:17
2017-06-07T09:11:58.722 -07:00: : ucctrnuccx.ucctrn.com: Jun 07 2017 09:12:07.306 -0700: SparkTeamAnnouncementsGadget : _updateGadget(): The access token is not available yet. Try again in the next iteration.
06-07-2017 10:38 AM
Hi Steve,
Here are a few things to check:
1) In your App on developer.ciscospark.com, make sure the redirectURI can be accessed via the browser. When loaded, it should just say "Authenticating...".
2) In your App on developer.ciscospark.com, make sure the App Icon URL is an external URL. Cisco Spark needs to be able to access it. Someone ran into this issue in the past where they hosted the icon on their server.
3) In the popup window for the spark login, use the browser's developer tools to see if the oauth.html is being executed, specifically the "success" callback.
4) Check your browser's cookies for spark_access_token. Does it exist?
Thanx,
Denise
06-22-2017 12:12 PM
Hello Denise
Trying to implement this gadget, I am stuck in the step where the developer tool in the finesse is sending:
SparkTeamAnnouncementsGadget : _getAccessToken(): Unable to retrieve the access token
and
SparkTeamAnnouncementsGadget : _updateGadget(): The access token is not available yet. Try again in the next iteration.
Already Checked the points 1 and 2 and are Ok.
In the pop-up window for Spark login, I can see with the developer tools the post to
https://api.ciscospark.com/v1/access_token
and also the JSON response with the access_token.
What is still missing is the cookie spark_access_token.
I am using UCCX 11.5 with the SparkTeamAnnouncements gadget files version 11.0.1-v1.2 hosted in an external webserver.
Any suggestion?
Thanks a lot!
Rogelio
06-24-2017 10:18 PM
Hi,
What is the URL for your Spark App Icon? Is it an internal URL? If so, the App Icon must be external. As odd as it sounds, someone ran into this issue where they put the AppIcon image on the Finesse server and because Spark cannot connect to it, it caused errors.
If it is not internal, I would suggest opening a developer support ticket to debug this 1 on 1 because you have exhausted all of my recommendations so I would need to look at your system.
Thanx,
Denise
08-09-2018 01:40 AM
Hello all,
Is Spark Team Announcement gadget still avaialble for download. All the uls that seem to refer to it appear to be offline.
Thanks
08-09-2018 09:23 AM
Hi,
Yes, it was renamed to WebexTeamsTeamAnnouncementSampleGadget due to the rebranding of the product: https://github.com/CiscoDevNet/finesse-sample-code/tree/master/WebexTeamsTeamAnnouncementsSampleGadget
Thanx,
Denise
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide