klesh opened a new issue, #2367: URL: https://github.com/apache/incubator-devlake/issues/2367
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ## Hide passwords/tokens from connection settings pages 1. Change api `TestConnection` of github plugin to validate exactly 1 token, and return `username` for the token if succeeded. 2. `config-ui` github connection would call `TestConnection` for each token and print out `username` for them if succeeded, or an error message in red. For other plugins, making the input field to `password` type would be sufficient. @yumengwang03 will finish the design before 1st July, @e2corporation ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
