{"id":17933251,"url":"https://github.com/lunks/oauth1","last_synced_at":"2025-03-24T06:31:52.066Z","repository":{"id":8575460,"uuid":"10205389","full_name":"lunks/oauth1","owner":"lunks","description":"Simple OAuth 1.0a helper.","archived":false,"fork":false,"pushed_at":"2021-02-17T20:31:17.000Z","size":274,"stargazers_count":6,"open_issues_count":3,"forks_count":6,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-19T03:01:28.702Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lunks.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}},"created_at":"2013-05-21T21:00:07.000Z","updated_at":"2023-03-09T03:39:13.000Z","dependencies_parsed_at":"2022-08-30T03:50:08.522Z","dependency_job_id":null,"html_url":"https://github.com/lunks/oauth1","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunks%2Foauth1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunks%2Foauth1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunks%2Foauth1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunks%2Foauth1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lunks","download_url":"https://codeload.github.com/lunks/oauth1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245222699,"owners_count":20580212,"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-10-28T21:38:11.871Z","updated_at":"2025-03-24T06:31:47.048Z","avatar_url":"https://github.com/lunks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/lunks/oauth1.svg?branch=master)](https://travis-ci.org/lunks/oauth1)\n[![Dependency Status](https://gemnasium.com/lunks/oauth1.svg)](https://gemnasium.com/lunks/oauth1)\n[![Code Climate](https://codeclimate.com/github/lunks/oauth1/badges/gpa.svg)](https://codeclimate.com/github/lunks/oauth1)\n\n# OAuth1\n\nSimple helper that helps you build the url needed to authenticate into a service using OAuth 1.0.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'oauth1'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install oauth1\n\n## Usage\n\n    # Setup data\n    method = :get\n    domain_url = 'http://some.app.com/auth/'\n    user_date = { uid: user_email + encrypted_password }\n    oauth_config = { consumer_key: ENV['OAUTH_KEY'], consumer_secret: ENV['OAUTH_SECRET'] }\n\n    # Usage\n    oauth = Oauth::Helper.new(method, domain_url, user_data, oauth_config)\n\n    # Returns\n    oauth.signature_base # Returns the signature appended in the auth url\n    oauth.full_url       # The proper url used for authentication\n\n\nAfter that, all you need to do is to redirect the user to `oauth.full_url`.\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%2Flunks%2Foauth1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flunks%2Foauth1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunks%2Foauth1/lists"}