2

创建一个Rails API使用Devise_token_authgem 并尝试使其能够通过 google 和 facebook 登录。在此之后:- github。此错误已注册,但尚无解决方案Here。我的错误:-

`Started POST "/omniauth/facebook/callback" for 127.0.0.1 at 2019-03-12 13:26:08 +0530 
Processing by DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks as */* 
Parameters: {"provider"=>"facebook"} 
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)


   RuntimeError (No resource_class found):    
app/controllers/application_controller.rb:6:in 
`configure_permitted_parameters' 

现在,我的 configure_permitted_pa​​rameters 包含一些我在注册时需要存在且不可忽略的正文参数。我应该用什么技术/方法来忽略这一点并检查我的 APIdevise: omniauthable

4

0 回答 0