If you add: config.omniauth :developer to config/initializers/devise.rb
and in gitlab.yml place this:
  omniauth:
    enabled: true
    allow_single_sign_on: true
    block_auto_created_users: false
    providers:args:
      - { name: 'developer' }


my expectation would be that when i login using 'developer' from the login 
screen, that it works.
However, I get this error:
AbstractController::ActionNotFound (The action 'developer' could not be 
found for OmniauthCallbacksController):

I tried adding a 'developer' method 
to app/controllers/omniauth_callbacks_controller.rb
but that makes no change.

(I'm not trying to get the 'developer' method going but instead my own, but 
this one is very simple and is included).

Any suggestion?

If I run:
bundle exec rake gitlab:env:info RAILS_ENV=production routes |grep omniau

I get:
user_omniauth_authorize GET|POST /users/auth/:provider(.:format) 
omniauth_callbacks#passthru {:provider=>/developer/}
user_omniauth_callback GET|POST /users/auth/:action/callback(.:format) 
omniauth_callbacks#(?-mix:developer)
omniauth_error GET /users/auth/:provider/omniauth_error(.:format) 
omniauth_callbacks#omniauth_error

so i guess (?) i have a route for this.

This is on codebase checked out from git branch origin/7-3-stable today.


-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/a15edd84-2cfb-46ed-8b0f-bce83a1f2326%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to