[英]SonarLint in IntelliJ works with username and password but not with token
I configure the Server in IntelliJ like this: 我像这样在IntelliJ中配置服务器:
Name: xsonar Server URL: https://sonar.xyz.com/ Organization: Auth Type: Token Token: my-on-sonar-created-token Not using proxy
It says for the test connection: 它表示测试连接:
Error testing connection: Not authorized. 错误测试连接:未经授权。 Please check server credentials. 请检查服务器凭据。
However, if I use identical configuration but with my sonar login and password it works perfectly. 但是,如果我使用相同的配置,但使用我的声纳登录名和密码,则效果很好。
The documentation doesn't say anything about this: http://www.sonarlint.org/intellij/ 该文档对此没有说明: http : //www.sonarlint.org/intellij/
And I didn't find similar issues. 而且我没有发现类似的问题。
The version of my SonarQube is 6.2. 我的SonarQube的版本是6.2。
How dangerous is it to use password and username instead of token? 使用密码和用户名而不是令牌有多危险?
We had a reversed proxy sitting in between which wouldn't let the request through using our normal proxy. 我们之间有一个反向代理,它不允许使用我们的普通代理通过请求。 So far I haven't found a good solution to work around the reversed proxy. 到目前为止,我还没有找到解决反向代理问题的好方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.