{"id":15405161,"url":"https://github.com/fnando/omniauth-netlify","last_synced_at":"2026-01-07T12:04:37.829Z","repository":{"id":56886515,"uuid":"233726323","full_name":"fnando/omniauth-netlify","owner":"fnando","description":"Netlify's OAuth2 Strategy for OmniAuth.","archived":false,"fork":false,"pushed_at":"2020-09-24T08:05:02.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T11:50:00.641Z","etag":null,"topics":["middleware","netlify","omniauth"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fnando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["fnando"],"custom":["https://www.paypal.me/nandovieira/🍕"]}},"created_at":"2020-01-14T01:00:59.000Z","updated_at":"2020-09-24T08:05:04.000Z","dependencies_parsed_at":"2022-08-21T00:20:39.934Z","dependency_job_id":null,"html_url":"https://github.com/fnando/omniauth-netlify","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fomniauth-netlify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fomniauth-netlify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fomniauth-netlify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fomniauth-netlify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fnando","download_url":"https://codeload.github.com/fnando/omniauth-netlify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245955190,"owners_count":20699889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["middleware","netlify","omniauth"],"created_at":"2024-10-01T16:15:17.077Z","updated_at":"2026-01-07T12:04:37.794Z","avatar_url":"https://github.com/fnando.png","language":"Ruby","funding_links":["https://github.com/sponsors/fnando","https://www.paypal.me/nandovieira/🍕"],"categories":[],"sub_categories":[],"readme":"# Omniauth::Netlify\n\n[![Travis-CI](https://travis-ci.org/fnando/omniauth-netlify.svg)](https://travis-ci.org/fnando/omniauth-netlify)\n[![CodeClimate](https://codeclimate.com/github/fnando/omniauth-netlify.svg)](https://codeclimate.com/github/fnando/omniauth-netlify)\n[![Test Coverage](https://codeclimate.com/github/fnando/omniauth-netlify/badges/coverage.svg)](https://codeclimate.com/github/fnando/omniauth-netlify/coverage)\n[![Gem](https://img.shields.io/gem/v/omniauth-netlify.svg)](https://rubygems.org/gems/omniauth-netlify)\n[![Gem](https://img.shields.io/gem/dt/omniauth-netlify.svg)](https://rubygems.org/gems/omniauth-netlify)\n\n[Netlify](http://netlify.com)'s OAuth2 Strategy for OmniAuth.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'omniauth-netlify'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install omniauth-netlify\n\n## Usage\n\n`OmniAuth::Strategies::Netlify` is simply a Rack middleware. Read the OmniAuth docs for detailed instructions: \u003chttps://github.com/intridea/omniauth\u003e.\n\nFirst, create a new application at `https://app.netlify.com/user/applications#oauth`. Your callback URL must be something like `https://example.com/auth/netlify/callback`. For development you can use `http://127.0.0.1:3000/auth/netlify/callback`.\n\nHere's a quick example, adding the middleware to a Rails app in `config/initializers/omniauth.rb`. This example assumes you're exporting your credentials as environment variables.\n\n```ruby\nRails.application.config.middleware.use OmniAuth::Builder do\n  provider :netlify,\n            ENV['NETLIFY_CLIENT_ID'],\n            ENV['NETLIFY_CLIENT_SECRET']\nend\n```\n\nNow visit `/auth/netlify` to start authentication against Netlify.\n\n## Contributing\n\n1. Fork [omniauth-netlify](https://github.com/fnando/omniauth-netlify/fork)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Fomniauth-netlify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffnando%2Fomniauth-netlify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Fomniauth-netlify/lists"}