尝试创建自定义omniauth客户端以与api base rails app进行交互,提供商应用程序与设计和门卫集成ApiProvider app完美配合 试图使用门卫ui授权客户端应用程序我在控制台中收到以下错误
I, [2017-01-17T15:37:31.760972 #13511] INFO -- omniauth: (api_provider) Callback phase initiated.
E, [2017-01-17T15:37:31.767541 #13511] ERROR -- omniauth: (api_provider) Authentication failure! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | CSRF detected
E, [2017-01-17T15:37:31.767730 #13511] ERROR -- omniauth: (api_provider) Authentication failure! invalid_credentials: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | CSRF detected