# simi/omniauth-facebook

Facebook OAuth2 Strategy for OmniAuth

Repository: https://github.com/simi/omniauth-facebook
Canonical: https://ross.abutalabs.com/products/omniauth-facebook
Homepage: https://simi.github.io/omniauth-facebook/
Language: Ruby
License Family: other
Last push: 2026-08-11T23:56:44+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 93, longevity 100
- inputs: {"age_days": 5436, "days_push": 22, "days_rel": 46, "gap_med": 0, "n_releases_24m": 2}
- 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 1267, forks 397 (observed 2026-08-28T04:04:11.294828+00:00)

## What it is
A Facebook OAuth2 strategy for the OmniAuth authentication framework, implemented as Rack middleware for Ruby web applications. It supports both server-side and client-side OAuth 2.0 flows with configurable scopes, display modes, and profile image sizes.

## Use cases
- add Facebook login to a Rails app
- authenticate users with Facebook OAuth2 in Sinatra
- support Facebook client-side flow with the JavaScript SDK
- request Facebook permissions like email via scope configuration
- fetch user profile info and profile picture during OAuth login

## When to choose
- you have a Ruby or Rails app already using OmniAuth and need Facebook sign-in
- you want a battle-tested OAuth2 strategy with both server-side and client-side flow support
- you need configurable Facebook permissions and profile picture sizes

## When to avoid
- your project is not in the Ruby/OmniAuth ecosystem
- you need a strategy for a provider other than Facebook
- you require actively maintained software - the project is seeking new maintainers

## Facets
- artifact type: library
- maturity: maintenance
- function: auth, middleware, http-client
- domain: web-development, security, apis
- platform: ruby
- tags: oauth2, omniauth-strategy, facebook, social-login, rack-middleware, ruby-gem, web-server

## Member repositories
- simi/omniauth-facebook (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:11.294828+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-30T05:03:44.110539+00:00, confidence not recorded.
  - readme: https://github.com/simi/omniauth-facebook (fetched 2026-08-28T04:04:11.294828+00:00, sha fd7136a87cfc)
  - homepage: https://simi.github.io/omniauth-facebook/ (fetched 2026-08-29T12:15:29.794172+00:00, sha 34441324d5bd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
