Hey Joseph -
I'd back up a bit and make sure that trusted tickets are working at all for you - have you tested this? Are you sure that you are getting "real" tickets back from Tableau Server.
I can indeed confirm that trusted tickets are working properly...when using width and height for the iframe style. If you'd like a test account in our web app to confirm, I'd be happy to grant you access.
FWIW, your stackoverflow answers on trusted authentication were extremely helpful, so i was hoping you'd chime in on this question!
1 of 1 people found this helpful
If Trusted Tickets works with an iFRAME (with hardcoded height and width) than #1 above can't be the case, right? Either the ticket generation & URL creation works, or it doesn't. No reason it would break unless you changed the code.
#2 could be the case. Are you using a tool like Firebug or Fiddler to see if your frame is executing the URL (with embedded ticket) multiple times? That's not allowed - a ticket can only be redeemed once. So the "could not find unexpired ticket" message could just be the js behind the iframe re-submitting stuff unnecessarily.
if this is the case, you'll need to find a plug-in that doesn't re-submit the ticket over and over...or you'll need to hack the code somehow so that BEFORE it does, you call your code to generate a trusted ticket again and plug a new value into the code.
Good call on Fiddler. I should have thought to do just that. And it reveals precisely the problem.
With a fixed proportion embed, there is a single request to the trusted ticket url:
I should be able to find a solution and report back now that I know where to focus my efforts. Thanks a ton for your help
do you happen to have a live example somewhere the interwebs you would be willing to share? Would be interested in seeing how this all turned out.