InfoSec812 / sonar-auth-google

OAuth2 Authentication Plugin For SonarQube
Apache License 2.0
27 stars 25 forks source link

Default Google oauth URL #3

Closed ratroncoso closed 7 years ago

ratroncoso commented 8 years ago

My friend,

The plugin sets as default Google authentication URI: https://accounts.googleoauth.com/o/oauth2/auth

It has changed, now it's: https://accounts.google.com/o/oauth2/v2/auth (*) This can be set in the plugin configuration view in SonarQube

Could you please add to the Readme.md file or to the code to help others?

ratroncoso commented 8 years ago

I found another issue.

In the documentation you say we have to authorzize both of the Callback URL, the one from google it's with error, because it says: ${sonarBaseURL}/oauth2/callback/google

And the plugin sends: ${sonarBaseURL}/oauth2/callback/googleoauth

InfoSec812 commented 7 years ago

Fixed in PR #5