GithubHelp home page GithubHelp logo

omniauth-googlefederated's People

Contributors

liuhenry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

omniauth-googlefederated's Issues

cannot load such file -- omniauth/googlefederated (LoadError)

I'm having trouble using the GoogleFederated strategy in my app.

/Users/readwl/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:74:in `require': cannot load such file -- omniauth/googlefederated (LoadError)
    from /Users/readwl/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:74:in `rescue in block in require'
    from /Users/readwl/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:62:in `block in require'
    from /Users/readwl/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `each'
    from /Users/readwl/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `require'
    from /Users/readwl/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.3/lib/bundler.rb:128:in `require'
    from /Users/readwl/workspace/loopbac/config/application.rb:13:in `<top (required)>'
    from /Users/readwl/.rvm/gems/ruby-1.9.3-p385@loopbac/gems/railties-3.2.11/lib/rails/commands.rb:39:in `require'
    from /Users/readwl/.rvm/gems/ruby-1.9.3-p385@loopbac/gems/railties-3.2.11/lib/rails/commands.rb:39:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

My Gemfile:

source 'https://rubygems.org'

gem 'bootstrap-sass'
gem 'devise'
gem 'haml'
gem 'jquery-rails'
gem 'pg'
gem 'omniauth'
gem 'omniauth-googlefederated'
gem 'rails', '3.2.11'

group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'uglifier', '>= 1.0.3'
end

group :development do
  gem 'heroku_san'
end

group :test do
  gem 'capybara-webkit'
  gem 'rspec'
  gem 'rspec-rails'
  gem 'shoulda-matchers'
end

My config/initializers/devise.rb

Devise.setup do |config|
  ...
  # ==> OmniAuth
  # Add a new OmniAuth provider. Check the wiki for more information on setting
  # up on your models and hooks.
  # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
  #Note: If you want to be prompted for permission every time, set approval_prompt: "force", otherwise leave it empty.
  config.omniauth :GoogleFederated,
                  :store => OpenID::Store::Filesystem.new('/tmp'),
                  :name => 'GoogleFederated',
                  :identifier => 'https://www.google.com/accounts/o8/id',
                  :consumer_key => GOOGLE_APP_ID,
                  :consumer_secret => GOOGLE_APP_SECRET,
                  :scope => ["http(s)://www.google.com/calendar/feeds/", "https://www.google.com/m8/feeds/"],
                  :require => 'omniauth-googlefederated',
                  :client_options => {:ssl => {:ca_file => '/usr/lib/ssl/certs/ca-certificates.crt'}}
...
end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.