因此,我试图通过设计配置Rails和Google,我遵循了描述的官方文档。当我点击google注册按钮时,我得到了这个错误。Access to fetch at 'url' (redirected from 'http://localhost:3000/users/auth/google_oauth2') from originmethods: [:get, :post, :patch, :put] end这是我的回调控制器
cl
=> "callbacks" }
get "/auth/google_oauth2/callback" => 'callbacks#google_oauth2OmniAuth::Builder do
provider :google_oauth2, '<my client id in string>', '<my cl