정의되지 않은 omniauth_authorize_path 메서드 오류 (Undefined omniauth_authorize_path method Error)


문제 설명

정의되지 않은 omniauth_authorize_path 메서드 오류 (Undefined omniauth_authorize_path method Error)

테이블 연결이 있는 레일즈 앱을 빌드 중이며 특정 컨트롤러, 뷰 및 모델의 이름을 바꾼 후 #<#:0x007fbb34f8ffb0>

코드는 https://github.com/ReemAlattas/ActionTracker에서 찾으세요.

디바이스를 이메일과 페이스북 인증에 사용하고 있습니다.

미리 감사합니다!


참조 솔루션

방법 1:

Change devise.rb setup to this:

config/initializers/devise.rb

Devise.setup do |config|
  ....
  # Omniauth setup
  config.omniauth :facebook, 'APP_ID', 'APP_SECRET'
  ....
end

(by ReemPrashant4224)

참조 문서

  1. Undefined omniauth_authorize_path method Error (CC BY‑SA 2.5/3.0/4.0)

#omniauth #facebook #ruby-on-rails #devise






관련 질문

Rails: omniauth-google, 로그인을 우회하는 방법? (Rails: omniauth-google, how to bypass login?)

ruby on rails 애플리케이션에서 twitter omni-auth를 사용하여 사용자 이름을 유지할 수 없음 (not able to persist username using twitter omni-auth in ruby on rails application)

루비 깃허브 클라이언트 (Ruby github client)

Rails Gem은 등록 시 선택한 사용자를 활성화하시겠습니까? (Rails Gem to Activate selected users on sign up?)

User.find_for_oauth - 어디서 찾을 수 있나요? (User.find_for_oauth - where can I find it?)

유효성 검사 전에 보기 표시 OmniAuth (show view before validation OmniAuth)

정의되지 않은 omniauth_authorize_path 메서드 오류 (Undefined omniauth_authorize_path method Error)

Devise, Omniauth 및 여러 서비스 제공업체가 있는 Rails 4 (Rails 4 with Devise, Omniauth and multiple service providers)

Devise 및 Omniauth를 사용한 Rails 소셜 로그인(Facebook) - 정의되지 않은 방법 '지속됨?' nil의 경우:NilClass (Rails social login ( Facebook) with Devise and Omniauth - undefined method `persisted?' for nil:NilClass)

after_sign_in_path_for(리소스) devise + facebook omniauth (after_sign_in_path_for(resource) devise + facebook omniauth)

WordPress에서 Simple Jquery Click이 작동하지 않음 (Simple Jquery Click not working in WordPress)

Java FX의 데이터베이스 연결 모범 사례 (Database Connection Best Practice in Java FX)







코멘트