botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
78 stars 87 forks source link

Diagnostic report don't authenticate services #1615

Open davidvitora opened 2 years ago

davidvitora commented 2 years ago

Describe the bug When starting your own Language/NLU server and using the authentication layer with --authToken, the diagnostic report will not use the configured token from configuration, meaning that it will return a failed 401 status

image

To Reproduce Steps to reproduce the behavior:

1 - Start your own language server but use the "./bp lang --authToken 123456789" to set the authentication token 2 - Change the NLU configuration at nlu.json to use the new started language server image 3 - Restart your server and check how its going to work correctly but the diagnostic report will return a 401 error

Expected behavior Success when checking the connection in the diagnostic report

Environment (please complete the following information):