mappjzc opened a new issue, #2400:
URL: https://github.com/apache/incubator-devlake/issues/2400

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   
![image](https://user-images.githubusercontent.com/2921251/176717657-770d8ca3-a084-49a7-9033-f4051ad8fe7b.png)
   
![image](https://user-images.githubusercontent.com/2921251/176717856-2a0a24aa-f918-47ba-831c-74c6d5f2f119.png)
   
   As we see.
   We use an wrong username with the right token password. it is test right.
   But when we use it to collect data. It told us that authentication failed.
   
   
   ### What you expected to happen
   
   Maybe we would better to use another api for test like /user/search ? 
   
![image](https://user-images.githubusercontent.com/2921251/176720915-0dfbaca8-98f1-41f7-b63f-0dff6050fda1.png)
   
![image](https://user-images.githubusercontent.com/2921251/176720617-95678419-088f-4a6e-b0f7-f1603d4188f1.png)
   
   Or at least let user to check his Username but not his AccessToken.
   
![image](https://user-images.githubusercontent.com/2921251/176721670-f9fe66c0-5e33-4c15-aded-0741413b6ba4.png)
   
   
   ### How to reproduce
   
   1. set an right token.
   2. set an wrong username.
   3. save connection
   4. run pipeline.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [X] 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]

Reply via email to