{"id":18365373,"url":"https://github.com/le0pard/omniauth-yammer","last_synced_at":"2025-04-06T16:31:21.670Z","repository":{"id":2012152,"uuid":"2947000","full_name":"le0pard/omniauth-yammer","owner":"le0pard","description":"OmniAuth strategy for Yammer","archived":false,"fork":false,"pushed_at":"2023-11-21T10:25:58.000Z","size":33,"stargazers_count":14,"open_issues_count":0,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-22T03:23:35.804Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/le0pard/omniauth-yammer","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"infochimps-data/infochimps-data","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/le0pard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-12-09T12:01:37.000Z","updated_at":"2023-11-21T10:26:04.000Z","dependencies_parsed_at":"2024-06-19T22:51:36.534Z","dependency_job_id":"8fc87378-2cab-43d8-92c6-c88da1a154a4","html_url":"https://github.com/le0pard/omniauth-yammer","commit_stats":{"total_commits":51,"total_committers":4,"mean_commits":12.75,"dds":0.1568627450980392,"last_synced_commit":"be8ea22ffe663b62f49af61965d80a63c0fa2311"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/le0pard%2Fomniauth-yammer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/le0pard%2Fomniauth-yammer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/le0pard%2Fomniauth-yammer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/le0pard%2Fomniauth-yammer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/le0pard","download_url":"https://codeload.github.com/le0pard/omniauth-yammer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247512603,"owners_count":20950888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T23:13:17.618Z","updated_at":"2025-04-06T16:31:21.386Z","avatar_url":"https://github.com/le0pard.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OmniAuth Yammer\n\n[![Build Status](https://travis-ci.com/le0pard/omniauth-yammer.svg?branch=master)](https://travis-ci.com/le0pard/omniauth-yammer)\n[![Code Climate](https://codeclimate.com/github/le0pard/omniauth-yammer/badges/gpa.svg)](https://codeclimate.com/github/le0pard/omniauth-yammer)\n\nThis gem contains the Yammer strategy for OmniAuth 1.0.\n\nSupports the OAuth 2.0 server-side flow. Read the Yammer docs for more details: https://developer.yammer.com/authentication/#a-oauth2\n\n## Installing\n\nAdd to your `Gemfile`:\n\n```ruby\ngem 'omniauth'\ngem 'omniauth-yammer'\n```\n\nor even:\n\n```ruby\ngem 'omniauth'\ngem 'omniauth-yammer', :github =\u003e 'le0pard/omniauth-yammer'\n```\n\nThen `bundle install`.\n\n## Usage\n\n`OmniAuth::Strategies::Yammer` is simply a Rack middleware. Read the OmniAuth 1.0 docs for detailed instructions: https://github.com/intridea/omniauth.\n\nHere's a quick example, adding the middleware to a Rails app in `config/initializers/omniauth.rb`:\n\n```ruby\nRails.application.config.middleware.use OmniAuth::Builder do\n  provider :yammer, ENV['YAMMER_KEY'], ENV['YAMMER_SECRET']\nend\n```\n\nFor changing default domain in gem (for dev or testing purpose) use YAMMER\\_DOMAIN environment variable:\n\n```ruby\nENV['YAMMER_DOMAIN'] = 'https://staging.yammer.com'\n```\n\n### Devise\n\nAdd this line to devise config:\n\n\n```ruby\nconfig.omniauth :yammer, \"Consumer key\", \"Consumer secret\"\n```\n\nIf you have this error:\n\n    SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed\n\nThen you can fix this by setting valid cert:\n\n    wget http://www.cacert.org/certs/root.crt\n    cat root.crt \u003e\u003e lib/ca-bundle.crt\n\nand edit devise config:\n\n```ruby\nconfig.omniauth :yammer, \"Consumer key\", \"Consumer secret\", {:client_options =\u003e {:ssl =\u003e {:ca_file =\u003e \"#{Rails.root}/lib/ca-bundle.crt\" }}}\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fle0pard%2Fomniauth-yammer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fle0pard%2Fomniauth-yammer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fle0pard%2Fomniauth-yammer/lists"}