Registry / auth / omniauth-oauth2

omniauth-oauth2

JSON →
library1.9.0rbrubygemsunverified

An abstract OAuth2 strategy for OmniAuth, enabling authentication via OAuth2 providers.

gem install omniauth-oauth2
INSTALL
IMPORT
SIG · OMNIAUTH-OAUTH2
O
omniauth-oauth2
authrubyv1.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OmniAuth::Strategies::OAuth2
require 'omniauth-oauth2'

Configure an OAuth2 provider in a Rails app.

require 'omniauth-oauth2' Rails.application.config.middleware.use OmniAuth::Builder do provider :oauth2, 'KEY', 'SECRET' end
Debug
Known issues
breakingOmniAuth OAuth2 1.9.0 drops support for Ruby < 2.7.
fix
Upgrade Ruby to 2.7 or later.
affects: >= 1.9.0
Upgrade
Version history
1.9.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
OpenAI (training)
1
Resources
omniauth-oauth2 — gem install omniauth-oauth2 · libregistry