Yammer CORS browser issue while make api call

New Contributor

We are need to use yammer feeds in our site. But we are not prompted due to CORS issue in browser. When we call authentication the login dialog open and closed suddenly. While check with the browser console. we got bellow errors. 
" Origin http://localhost:65106 not found in Access-Control-Allow-Origin header."

"XMLHttpRequest: Network Error 0x80070005, Access is denied."

"Origin http://localhost:65106 not found in Access-Control-Allow-Origin header."

"XMLHttpRequest: Network Error 0x80070005, Access is denied."

"[yammer] Login failed: Invalid JavaScript origin"

"Access is denied"CORSissue.png

 

 We had tried with angular js also. But not works for authentication

2 Replies

Have you registered your javascript origin?

 

https://developer.yammer.com/docs/js-sdk

 

 

Yes, that's the issue. I found and resolved,Thanks Victor Nguyen.