Yammer login SSO without insert

We embed a Yammer feed on a webpage with SSO enabled (use_sso: true). This is working correctly. We also need to use the Yammer API for more Yammer information, such as comments. Therefore, we have 2 options:

  • Insert the Yammer feed into the SSO. After logging in, get comments. This will only work after refreshing the page, because the SSO cookie is set only for iframe embedfeed.

  • Log in to Yammer through the API using yam.platform.login and a custom login button. After logging in, get comments and insert a feed.

Scenario 1 is confusing for users. They will not have comments on the first pageload. Scenario 2 works, but we cannot get SSO to work.

Question: How can we use SSO with yam.platform.login, or what can we do?

+4
source share
1 answer

yam.platform.loginworks regardless of SSO or not. The user's home network configuration determines how authentication is sorted. However, Embed is not intended to be configured or used with the REST API. Thus, this is either you use only embedding as is, or create your own user interface with the REST API.

0
source

Source: https://habr.com/ru/post/1655029/


All Articles