nathan-nicholson opened a new issue, #6574:
URL: https://github.com/apache/incubator-devlake/issues/6574

   ### 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
   
   When I was switching my GitHub connection from a PAT to a GitHub app, I was 
getting error messages from the UI. Looking at the network requests and I was 
getting 500 Internal Server errors without any actionable info.
   
   I noticed that my PAT was still in the request body even though I had the 
GitHub App radio button selected. That struck me as being odd.
   
   After selecting "GitHub Token" and removing the configured PAT and going 
back to the "GitHub App", the request went through and the connection was 
successfully updated.
   
   ### What do you expect to happen
   
   That the connection would have been updated with my GitHub App info, 
overriding the PAT configuration that was already there.
   
   
   ### How to reproduce
   
   1. Configure a GitHub Connection with a PAT and save it
   2. Edit the GitHub Connection again
   3. Select the GitHub App radio button without removing the PAT
   4. Fill the requisite credentials to a valid GitHub app
   5. Try to save the configuration
   6. See generic error message
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.18.0
   
   ### Are you willing to submit 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]

Reply via email to