# zquestz/omniauth-google-oauth2

Oauth2 strategy for Google

Repository: https://github.com/zquestz/omniauth-google-oauth2
Canonical: https://ross.abutalabs.com/products/omniauth-google-oauth2
Language: Ruby
License Family: other
Topics: ruby, omniauth, google-oauth2, oauth2
Last push: 2026-06-11T00:57:06+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 40, longevity 100
- inputs: {"age_days": 5417, "days_push": 84, "days_rel": 190, "gap_med": 262.5, "n_releases_24m": 3}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1523, forks 418 (observed 2026-08-28T04:04:58.070817+00:00)

## What it is
An OmniAuth strategy gem that enables Google OAuth2 authentication in Ruby applications. It integrates as Rack middleware (e.g., in Rails or with Devise) to handle the OAuth2 flow with Google, including scope configuration and consent prompts.

## Use cases
- add sign in with google to a rails app
- authenticate users via google oauth2 in ruby
- omniauth google strategy for devise
- request google api scopes during login
- handle google oauth consent and redirect flow

## When to choose
- you have a Ruby/Rails app using OmniAuth or Devise and need Google login
- you want a maintained, widely used Google OAuth2 strategy with configurable scopes

## When to avoid
- your app is not in Ruby or does not use OmniAuth
- you need OAuth providers other than Google (use omniauth core with other strategies)
- you need a full identity/user management solution rather than an auth strategy

## Facets
- artifact type: library
- maturity: active
- function: auth, middleware, sdk
- domain: web-development, security, apis
- platform: ruby
- tags: omniauth, google-oauth2, oauth2, authentication, rails, devise

## Member repositories
- zquestz/omniauth-google-oauth2 (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.070817+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:45.724579+00:00, confidence not recorded.
  - readme: https://github.com/zquestz/omniauth-google-oauth2 (fetched 2026-08-28T04:04:58.070817+00:00, sha 40a5efe0da32)
- Data as of 2026-08-30T08:39:29.467469+00:00.
