Sha256: 1dcb565912fc53135a6e2f16e62480d5ffd454a0ca961ef0823e4947a591ce12
Contents?: true
Size: 921 Bytes
Versions: 5
Compression:
Stored size: 921 Bytes
Contents
# frozen_string_literal: true module Elabs module Auth class OmniauthCallbacksController < Devise::OmniauthCallbacksController include Elabs::Concerns::ElabsController include Elabs::Concerns::Reportable include Elabs::Concerns::Localizable # You should configure your model like this: # devise :omniauthable, omniauth_providers: [:twitter] # You should also create an action method in this controller like this: # def twitter # end # More info at: # https://github.com/plataformatec/devise#omniauth # GET|POST /resource/auth/twitter # def passthru # super # end # GET|POST /users/auth/twitter/callback # def failure # super # end # protected # The path used when OmniAuth fails # def after_omniauth_failure_path_for(scope) # super(scope) # end end end end
Version data entries
5 entries across 5 versions & 1 rubygems