talira

OAuth (Ruby)

OAuth 1.0 and 1.0a clients and servers in Ruby

open sourceMITfree

The oauth gem implements OAuth 1.0 and 1.0a clients and servers in Ruby applications. It targets 1.0a behaviour (the errata that became RFC 5849) while staying compatible with providers that still act like classic 1.0, handling the callback, callback confirmation and verifier steps of three-legged flows and out-of-band flows for command-line clients. All its dependencies are signed, so it installs under a HighSecurity profile. The Ruby OAuth organisation also maintains the oauth2 gem for OAuth 2.0 and OIDC and the oauth-tty command-line tool.

Problems it solves

  • sign requests to an OAuth 1.0a API from Ruby
  • add OAuth 1.0a to a Ruby web service
  • integrate with an old API that still uses OAuth 1.0 in Ruby

Features

  • OAuth 1.0a clients and servers, compatible with classic 1.0 providers
  • three-legged flows with callback and verifier handling
  • out-of-band (oob) flows for command-line clients
  • signed dependencies, installable with a HighSecurity profile

Alternatives

The same job

These do what OAuth (Ruby) does.

  1. OAuth2 (Ruby) A Ruby gem for OAuth 2.0 clients, including OAuth 2.1 and OpenID Connect

Compare OAuth (Ruby) with the top 3