First we integrated our site with Multipass, which appears to work correctly. However, we then REALLY liked your website widget and integrated it, but quickly noticed that the multipass integration no longer works from within it. Is there any way to get the single sign on integration working within the website widget??
Website Widget with Multipass
Discussions are closed to public comments.
If you need help with Tender please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

#1 Posted by Will on 26 Jan, 2010 10:24 PM
Hey Nathaniel.
We use the SSO options our our widget for Lighthouse. I'll pull the source code real quick and see what we did to get that working. Odds our it was implemented and someone forgot to update our documentation to help users get that working.
#2 Posted by Will on 26 Jan, 2010 10:58 PM
Ok, so here is how it's done one our end for the SSO with the widget.
#3 Posted by Nate on 26 Jan, 2010 11:48 PM
Awesome. Thanks Will. I'll try to integrate it tonight and let you
know how it goes.
> // Add your reply above here
> ==================================================
> From: Will
> Subject: Website Widget with Multipass
>
> Ok, so here is how it's done one our end for the SSO with the widget.
>
> @@@
> <script type="text/javascript" charset="utf-8">
> Tender = {
> <% if logged_in? -%>
> sso: "<%= escape_javascript(current_user.multipass) %>",
> <% end -%>
> }
> </script>
> <script src="http<%= :s if request.ssl? %>://yourapp.tenderapp.com/
> tender_widget.js" type="text/javascript" charset="utf-8"></script>
> @@@
>
> View this Discussion online: http://help.tenderapp.com/discussions/questions/440-website-widget-with-multipass
> --
> Reply with #ignore to stop receiving notifications for this
> discussion.
#4 Posted by Nate on 27 Jan, 2010 03:10 PM
Would you mind posting the details of
current_user.multipass? I'm using thetender_multipassgem and haven't located the correct calls to generate the secure hash - I'm guessing a secure hash judging by the source on lighthouse...#5 Posted by Nate on 27 Jan, 2010 03:27 PM
Ahh .. part of the issue looks like there was a code change in the
tender_multipassgem which made the Tender::MultiPass.backend default to:hash(unencrypted backend) rather than:encrypted, if I'm reading the current plugin correctly.#6 Posted by Nate on 27 Jan, 2010 04:42 PM
I switched to the
multipassgem on GitHub under ENTP, switched out my SSO integration and it works just fine. Thanks, Will.