class Devise::OmniauthCallbacksController

def failed_strategy

def failed_strategy
  request.respond_to?(:get_header) ? request.get_header("omniauth.error.strategy") : request.env["omniauth.error.strategy"]
end