SidekiqWebGoogleAuth

Build Status Coverage Status Gem Version

Google OAuth for Sidekiq::Web

Installation

Add this line to your application's Gemfile:

gem 'sidekiq_web_google_auth'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install sidekiq_web_google_auth

Usage

Initialize builder:

SidekiqWebGoogleAuth.setup!(
  client_id: "example_client_id", # Google OAuth client ID
  client_secret: "example_client_secret", # Google OAuth secret
  # You must provide at least one of: authorized_emails, authorized_email_domains
  authorized_emails: %w[[email protected]], # List of authorized emails
  authorized_emails_domains: %w[mail.com], # List of authorized emails domains
)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/umbrellio/sidekiq_web_google_auth.

License

The gem is available as open source under the terms of the MIT License.

Authors

Team Umbrellio


Supported by Umbrellio