app/controllers/croesus/auth_credentials_controller.rb
# Should never be called. Instead, OmniAuth should intercept requests
# bound for this endpoint.
Should never be called. Instead, OmniAuth should intercept requests
bound for this endpoint.
Should never be called . Instead OmniAuth should intercept requests bound for this endpoint .
def create
      credential = authenticate_from_omniauth(params[:provider])
      if credential
        respond_to do |format|
          format.json { render json: credential, status: :created }
        end
      else
        head :not_found
      end
    end
def create credential = authenticate_from_omniauth ( params [ :provider ] ) if credential respond_to do | format | format . json { render json : credential , status : :created } end else head :not_found end end
Should never be called.
Should never be called .