Comments (13)
I have not tested with omniauth 1.1 yet.
Do you have a stacktrace you can attach to this issue?
from omniauth_crowd.
I have tried it out with omniauth 1.1.4 and have had no problems. Can you give me more details (stacktrace/failing unit test) that illustrates the problem?
from omniauth_crowd.
Next 2 weeks staring today I'm out of office. I will attach the traces. The problem is in argument count.
Maybe ot' a bug related to the gitlab project and the devise odr maybe wrong configuration.
from omniauth_crowd.
Sorry, accidental close.
from omniauth_crowd.
Just wanted to ping on this again and see if you have traces.
from omniauth_crowd.
Still on vacation ;(
On 8/14/13 3:40 AM, Rob Di Marco wrote:
Just wanted to ping on this again and see if you have traces.
—
Reply to this email directly or view it on GitHub
#12 (comment).
from omniauth_crowd.
This is my error form the gitlab. As I wrote, meybe my configuration is wrong
==> ../log/sidekiq.log <==
wrong number of arguments (3 for 1..2)
/usr/local/lib/ruby/gems/2.0.0/gems/omniauth_crowd-2.1.1/lib/omniauth/strategies/crowd.rb:10:in `initialize'
/usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/stack.rb:43:in `new'
/usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/stack.rb:43:in `build'
/usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/stack.rb:113:in `block in build'
/usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/stack.rb:113:in `each'
/usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/stack.rb:113:in `inject'
/usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/stack.rb:113:in `build'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/engine.rb:470:in `app'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/finisher.rb:31:in `block in <module:Finisher>'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
/usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/git/gitlab/config/environment.rb:5:in `<top (required)>'
/usr/local/lib/ruby/gems/2.0.0/gems/sidekiq-2.13.0/lib/sidekiq/cli.rb:195:in `require'
/usr/local/lib/ruby/gems/2.0.0/gems/sidekiq-2.13.0/lib/sidekiq/cli.rb:195:in `boot_system'
/usr/local/lib/ruby/gems/2.0.0/gems/sidekiq-2.13.0/lib/sidekiq/cli.rb:39:in `parse'
/usr/local/lib/ruby/gems/2.0.0/gems/sidekiq-2.13.0/bin/sidekiq:7:in `<top (required)>'
/usr/local/bin/sidekiq:23:in `load'
/usr/local/bin/sidekiq:23:in `<main>'
from omniauth_crowd.
OK, can you show me how you are initializing the crowd provider. It should be something like:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :crowd, :crowd_server_url=>"https://crowd.mycompanyname.com/crowd", :application_name=>"app", :application_password=>"password"
end
from omniauth_crowd.
I want to integrate in into gitlab application. The confguration is a litlle bit different. gitlab is using DEVISE.
I followed the configuration on the https://github.com/gitlabhq/gitlab-public-wiki/wiki/Working-Custom-Omniauth-Provider-Configurations, "Working CAS Configuration".
Of course I changed all relevant parameters.
from omniauth_crowd.
Is there someplace you are trying to instantiate a Omniauth::Strategies::Crowd
instance? The bug is that it is trying to pass in 3 arguments in to the constructor and only 1 or 2 are allowed. Any info you can give me on how you are setting up the crowd service would help me debug.
from omniauth_crowd.
no I did not. The devise should do it. And there is probably the problem. Devise is passing more parameters to the Crowd module.
from omniauth_crowd.
the problem was not in this module. I needed to change the gitlab sources ;(
from omniauth_crowd.
I wrote a small blog how to intergrate gitlab with crowd: http://blog.hudecof.net/posts/2014/01/08/gitlab-with-atlassian-crowd.html
from omniauth_crowd.
Related Issues (16)
- Problem with being redirected to reauthenticate after login HOT 1
- Missing application_name HOT 1
- Cannot authenticate with password with special characters HOT 2
- callback_path with sub uri HOT 4
- Can't seem to connect : keep getting "invalid_credentials" HOT 1
- Allow for custom SSL certificates for HTTP requests
- Adding custom fields in OmniAuth::Form HOT 1
- Style login page HOT 1
- Tests failing HOT 1
- NameError uninitialized constant HOT 3
- tests fail with webmock 3 HOT 1
- Do you follow Semantic Versioning? If yes, can you document it in README?
- OmniAuth v2.0.0rc1 HOT 1
- Crowd Login-Form and AssetPipeline HOT 3
- OmniAuth 1.0 released HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omniauth_crowd.