diff --git a/README.md b/README.md index 532e75d6..f0a79990 100644 --- a/README.md +++ b/README.md @@ -339,7 +339,13 @@ There are two things that is important to keep in mind: ### Omniauth -Devise comes with Omniauth support out of the box to authenticate from other providers. You can read more about Omniauth support in the wiki: +Devise comes with Omniauth support out of the box to authenticate from other providers. Note that you should specify all your omniauth configs in i`nitializers/devise.rb` **not** in a separate `omniauth.rb` initializer: + +```ruby +config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo' +``` + +You can read more about Omniauth support in the wiki: * https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview