Как подключить чат Rocket к Nexcloud с помощью Oauth? - PullRequest
0 голосов
/ 26 мая 2020

У меня проблема с использованием Oauth для подключения чата Rocket к NextCloud в течение 3 дней.

У меня есть эта ошибка в файле журнала

I20200526-13:18:53.862(2) server.js:204 Meteor ➔ publish null -> userId: null, arguments: [] 
I20200526-13:18:53.877(2) server.js:204 Meteor ➔ method loadLocale -> userId: null, arguments: ["fr"] 
I20200526-13:18:53.936(2) server.js:204 Meteor ➔ method public-settings/get -> userId: null, arguments: [] 
W20200526-13:19:26.649(2) (oauth_server.js:392) Error in OAuth Server: Failed to complete OAuth handshake with nextcloud at http://www.sorghun.com/my_documents/index.php/apps/oauth2/api/v1/token. failed [400] {"error":"invalid_client"}
I20200526-13:19:27.485(2) Exception while invoking method 'login' Error: Failed to complete OAuth handshake with nextcloud at http://www.sorghun.com/my_documents/index.php/apps/oauth2/api/v1/token. failed [400] {"error":"invalid_client"}     at CustomOAuth.getAccessToken (app/custom-oauth/server/custom_oauth_server.js:134:18)     at Object.handleOauthRequest (app/custom-oauth/server/custom_oauth_server.js:191:26)     at OAuth._requestHandlers.<computed> (packages/oauth2/oauth2_server.js:10:33)     at middleware (packages/oauth/oauth_server.js:161:5)     at /snap/rocketchat-server/1433/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 

Что это значит, пожалуйста. Кажется, вся конфигурация в порядке.

Спасибо

...