Created
January 16, 2017 05:04
-
-
Save 1c7/a65f7983aaf76455ebfd8f8784d46e5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use this hook to configure devise mailer, warden hooks and so forth. | |
| # Many of these configuration options can be set straight in your model. | |
| Devise.setup do |config| | |
| config.omniauth :wechat, Rails.application.config.open_weixin_app_id, Rails.application.config.open_weixin_app_screct, :authorize_params => {:scope => "snsapi_userinfo"} | |
| # .... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment