--Hello guys,
Will be very appreciated if anyone has any idea about issue below...I've installed and configured sonar-auth-bitbucket plugin using that instruction:One difference is that I put "Callback URL : https://[real_sonar_host_here]/oauth2/access_token" instead of "Callback URL : /oauth2/callback" as in another case I was getting Scheme missing error and was unable to save configuration in bitbucket.And when I try to login using bitbucket account, I'am getting "Invalid redirect_uri This integration is misconfigured. Contact the vendor for assistance."
I checked secret and key lots of time, sonar server base url also specified in sonar's configuration and it is a public https link. Result request looks like this:
https://bitbucket.org/site/oauth2/authorize?response_type=code&client_id=[real_client_id_here]&redirect_uri=https%3A%2F%2F[real_sonar_host_here]%2Foauth2%2Fcallback%2Fbitbucket&scope=account
I will be very appreciated for any kind of ideas regarding that issues.
Thanks,
Iurii.
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/cae41ab4-b113-481c-9a0e-08df9a9c0fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Lurii,Indeed, the documentation is wrong, the Callbak URL should not be " /oauth2/callback", but "https://[real_sonar_host_here]/oauth2/callback".This should solve your problem.I'll fix the documentation, thanks for your feedback.Regards,
On Mon, 7 Nov 2016 at 10:27 <bushne...@gmail.com> wrote:
Hello guys,
Will be very appreciated if anyone has any idea about issue below...I've installed and configured sonar-auth-bitbucket plugin using that instruction:One difference is that I put "Callback URL : https://[real_sonar_host_here]/oauth2/access_token" instead of "Callback URL : /oauth2/callback" as in another case I was getting Scheme missing error and was unable to save configuration in bitbucket.And when I try to login using bitbucket account, I'am getting "Invalid redirect_uri This integration is misconfigured. Contact the vendor for assistance."
I checked secret and key lots of time, sonar server base url also specified in sonar's configuration and it is a public https link. Result request looks like this:
https://bitbucket.org/site/oauth2/authorize?response_type=code&client_id=[real_client_id_here]&redirect_uri=https%3A%2F%2F[real_sonar_host_here]%2Foauth2%2Fcallback%2Fbitbucket&scope=account
I will be very appreciated for any kind of ideas regarding that issues.
Thanks,
Iurii.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/cae41ab4-b113-481c-9a0e-08df9a9c0fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Julien LANCELOT | SonarSource
Yury Bushnev
QA Automation Engineer
DataArt
Saint-Petersburg
+7(981)682-69-05
yury.bushnev@dataart.com skype: bushnev_yuri