yammer - yam.platform.request always fails with "No 'Access-Control-Allow-Origin' header is present on the requested resource" -


i try use yammer api. did specified in docs (https://developer.yammer.com/v1.0/docs/js-sdk):

  • i created own yammer app, website (https) domain set in javascript origins
  • i use login button receive auth token.

i set token yam.platform.setauthtoken

but following request yam.platform.request fails "no 'access-control-allow-origin' header present" although can see in network console correct token sent through authorisation bearer header.

i found out code working when accessing home-network. accessing other network member of, yammer app should globalized, see yammer client application external networks 401


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -