{"id":18524370,"url":"https://github.com/omniauth/omniauth-venmo","last_synced_at":"2025-04-09T11:32:01.733Z","repository":{"id":11101429,"uuid":"13454570","full_name":"omniauth/omniauth-venmo","owner":"omniauth","description":"OmniAuth strategy for Venmo","archived":false,"fork":false,"pushed_at":"2014-12-25T22:33:15.000Z","size":223,"stargazers_count":18,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T13:43:34.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omniauth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-09T21:12:20.000Z","updated_at":"2023-12-01T21:55:12.000Z","dependencies_parsed_at":"2022-09-06T22:32:04.847Z","dependency_job_id":null,"html_url":"https://github.com/omniauth/omniauth-venmo","commit_stats":null,"previous_names":["tmilewski/omniauth-venmo"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-venmo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-venmo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-venmo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniauth%2Fomniauth-venmo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omniauth","download_url":"https://codeload.github.com/omniauth/omniauth-venmo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248031642,"owners_count":21036446,"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-06T17:41:06.488Z","updated_at":"2025-04-09T11:32:01.343Z","avatar_url":"https://github.com/omniauth.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"omniauth-venmo\n==============\n\n[![Gem Version](https://badge.fury.io/rb/omniauth-venmo.png)](http://badge.fury.io/rb/omniauth-venmo)\n[![Build Status](https://travis-ci.org/tmilewski/omniauth-venmo.png?branch=master)](https://travis-ci.org/tmilewski/omniauth-venmo)\n\nVenmo OAuth2 Strategy for OmniAuth 1.x and supports the OAuth 2.0 server-side flow.\n\nYou may view the Venmo API documentation [here](https://developer.venmo.com/docs/oauth).\n\n## Installation\n\nAdd to your `Gemfile`:\n\n```ruby\ngem 'omniauth-venmo'\n```\n\nThen `bundle install`.\n\n\n## Usage\n\n`OmniAuth::Strategies::Venmo` 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 :venmo, ENV['VENMO_CLIENT_ID'], ENV['VENMO_CLIENT_SECRET']\nend\n```\n\n## Configuration\n\nCurrently, there is only one configuration option that needs to be set:\n\n* `scope`: A comma-separated list of permissions you want to request from the user. The available permissions are as follows: `access_email`, `access_phone`, `access_balance`, `access_feed`, `access_profile`, `access_friends`, and `make_payments`.  Default: `access_profile`\n\n```ruby\nRails.application.config.middleware.use OmniAuth::Builder do\n  provider :venmo, ENV['VENMO_CLIENT_ID'], ENV['VENMO_CLIENT_SECRET'], :scope =\u003e 'access_profile,make_payments'\nend\n```\n\n## Auth Hash\n\nHere's an example *Auth Hash* available in `request.env['omniauth.auth']`:\n\n```ruby\n{\n  :provider =\u003e 'venmo',\n  :uid =\u003e '1234567',\n  :info =\u003e {\n    :username =\u003e 'tmilewski',\n    :email =\u003e 'foo@bar.com',\n    :phone =\u003e '16105553287',\n    :name =\u003e 'Tom Milewski',\n    :first_name =\u003e 'Tom',\n    :last_name =\u003e 'Milewski',\n    :image =\u003e 'https://venmopics.appspot.com/u/v1/s/caa2d1a7-192d-4516-bfef-4ef8a1cd9dbe',\n    :balance =\u003e 0.0,\n    :urls =\u003e { :profile =\u003e 'https://venmo.com/tmilewski' },\n  },\n  :credentials =\u003e {\n    :token =\u003e 'ABCDEF...',\n    :expires =\u003e false\n  },\n  :extra =\u003e {\n    :raw_info =\u003e {\n      :id =\u003e '1234567',\n      :username =\u003e 'tmilewski',\n      :email =\u003e 'foo@bar.com',\n      :phone =\u003e '16105553287',\n      :name =\u003e 'Tom Milewski',\n      :firstname =\u003e 'Tom',\n      :lastname =\u003e 'Milewski',\n      :picture =\u003e 'https://venmopics.appspot.com/u/v1/s/caa2d1a7-192d-4516-bfef-4ef8a1cd9dbe',\n      :balance =\u003e 0.0,\n      :urls =\u003e { :profile =\u003e 'https://venmo.com/tmilewski' },\n    }\n  }\n}\n```\n\n## Supported Ruby Versions\n`omniauth-venmo` is tested under 1.8.7, 1.9.2, 1.9.3, 2.0.0, JRuby (1.8 mode), and Rubinius\n(1.8 and 1.9 modes).\n\n## Versioning\nThis library aims to adhere to [Semantic Versioning 2.0.0][semver]. Violations\nof this scheme should be reported as bugs. Specifically, if a minor or patch\nversion is released that breaks backward compatibility, that version should be\nimmediately yanked and/or a new version should be immediately released that\nrestores compatibility. Breaking changes to the public API will only be\nintroduced with new major versions. As a result of this policy, you can (and\nshould) specify a dependency on this gem using the [Pessimistic Version\nConstraint][pvc] with two digits of precision. For example:\n\n    spec.add_dependency 'omniauth-venmo', '~\u003e 1.0'\n\n[semver]: http://semver.org/\n[pvc]: http://docs.rubygems.org/read/chapter/16#page74\n\n\n## License\n\nCopyright (c) 2013 by Tom Milewski\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomniauth%2Fomniauth-venmo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomniauth%2Fomniauth-venmo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomniauth%2Fomniauth-venmo/lists"}