We are embedding a Yammer feed on a web page with SSO enabled (use_sso: true). This is working correctly. We also need to use the Yammer API to retrieve extra Yammer information like comments. Therefore we have 2 options:
Embed the Yammer feed with SSO. After login, retrieve comments. This will only work after a refresh of the page, because the SSO cookie is only set for the embedfeed iframe.
Login to Yammer via the API, with yam.platform.login and a custom Login button. After login, retrieve comments and embed the feed.
Scenario 1 is confusing for the users. They won't have comments on first pageload. Scenario 2 is working, but we can't get SSO to work.
Question: How can we use SSO with yam.platform.login, or whatelse can we do?