talira

OAuth2 (Ruby)

A Ruby gem for OAuth 2.0 clients, including OAuth 2.1 and OpenID Connect

open sourceMITfree

The oauth2 gem implements OAuth 2.0 clients (not servers) in Ruby: it creates a client for a provider, sends authorization and token requests (authorization code, client credentials and the other grant types), and makes authenticated requests with the resulting access tokens, with support for the OAuth 2.1 draft and OpenID Connect. It is maintained by the ruby-oauth organization.

Problems it solves

  • get an OAuth 2.0 access token from a provider in Ruby
  • call an API that uses OAuth 2.0 client credentials from Ruby
  • add OpenID Connect sign-in to a Ruby app

Features

  • OAuth 2.0 client for Ruby
  • OAuth 2.1 draft and OpenID Connect
  • authorization code, client credentials and other grants
  • access token handling for authenticated requests

Alternatives

The same job

These do what OAuth2 (Ruby) does.

  1. OAuth (Ruby) OAuth 1.0 and 1.0a clients and servers in Ruby

Compare OAuth2 (Ruby) with the top 3