|
|
|
@@ -5,7 +5,6 @@ OmniAuth.config.add_camelization 'qq', 'QQ' if config.dig("oauth", "qq") |
|
|
|
# OmniAuth.config.add_camelization 'gitee', 'Gitee' if config.dig("oauth", "gitee") |
|
|
|
# OmniAuth.config.add_camelization 'wechat', 'Wechat' if config.dig("oauth", "wechat") |
|
|
|
OmniAuth.config.logger = Rails.logger |
|
|
|
OmniAuth.config.request_validation_phase = nil |
|
|
|
OmniAuth.config.before_request_phase = nil |
|
|
|
OmniAuth.config.before_callback_phase = nil |
|
|
|
OmniAuth.config.on_failure = Proc.new { |env| |
|
|
|
|