{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"never","try":true,"basic_auth":false,"params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"OAuth 2: Sign In With Yammer Button","type":"basic","slug":"authentication","excerpt":"","body":"After registering your app, the next step is to setup authentication. This will connect your app to Yammer, with user credentials. We use OAuth 2.0 as the standard for authorization.\n\n\n**Login Button**\n\nIf you are using JavaScript, the simplest way to authenticate is to use the “Sign in with Yammer” button. Please refer to the [JavaScript SDK](/v1.0/docs/js-sdk) to learn more about setup. \n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/xeaSu3lrQN6ppAQS38gX_Sign%20In%20with%20Yammer.png\",\n \"Sign In with Yammer.png\",\n \"402\",\n \"64\",\n \"#4aa0e0\",\n \"\"\n ],\n \"caption\": \"Sign in button for Yammer\"\n }\n ]\n}\n[/block]","updates":["56eea875c3628a170081f094","56f4082c65d2a617005279f5"],"order":0,"isReference":false,"hidden":true,"sync_unique":"","link_url":"","link_external":false,"_id":"5451398d14af501a00b50d17","is_link":false,"parentDoc":null,"project":"545137a814af501a00b50cf9","githubsync":"","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["545137a814af501a00b50cfd","545138eaa66f020800dbab4a","546b9072b47b5d1400109edf","546b9082b47b5d1400109ee0","546b9088b47b5d1400109ee1","546b909462515a14007ebc43","546b90a0b47b5d1400109ee2","546ced235884600e007a92f6","5481008eea7fd40b00cd7c2b","573b9d83ee2b3b220042291f","57be1efa15efc70e006a5f99","5ee004f52c97b4004c7a5876"],"_id":"545137a814af501a00b50cfc","project":"545137a814af501a00b50cf9","__v":12,"createdAt":"2014-10-29T18:53:28.525Z","releaseDate":"2014-10-29T18:53:28.525Z"},"user":"5451379ba66f020800dbab3d","__v":10,"category":{"sync":{"isSync":false,"url":""},"pages":["5451398d14af501a00b50d17","546b916b62515a14007ebc4b","546b91a862515a14007ebc4d","546b91c8b47b5d1400109ef6","546b91dab47b5d1400109ef8"],"title":"Authentication","slug":"authentication","order":3,"from_sync":false,"reference":false,"_id":"545138eaa66f020800dbab4a","project":"545137a814af501a00b50cf9","version":"545137a814af501a00b50cfc","__v":5,"createdAt":"2014-10-29T18:58:50.759Z"},"createdAt":"2014-10-29T19:01:33.374Z"}