camunda-modeler
camunda-modeler copied to clipboard
Error messages in deployment overlay is not always correct
Describe the bug
The errors messages related to connection check is not always correct in the deployment overlay. Here are two examples of incorrect error messages:
- If a wrong Client ID is entered, the error message is “Should point to a running OAuth service”, whereas I would expect to get wrong credentials message for Client ID and Client secret.
- If a wrong value is entered for Audience, then the error messages for Client ID and Client secret is shown.
https://user-images.githubusercontent.com/5987816/189828558-9d2dc0e3-316c-4164-8779-1a032c2a0773.mov
Steps to reproduce
Case 1:
- Enter valid values for all fields in the deploy modal
- Change the value for Client ID to an invalid value
Case 2:
- Enter valid values for all fields in the deploy modal
- Change the value for Audience to an invalid value
Expected behavior
The error messages always help the user identify the exact problem causing the error.
Environment
- OS: [MacOS]
- Camunda Modeler Version: [latest] (tested locally in the dev environment)
Additional context
No response
Thanks for the bug report.
Happy to take a contribution to fix this.