22.05.2015 - How to implement Java OAuth 2.0 to sign in with GitHub and Google . What was only 5 lines of code in Google's case, turns to 19 lines so we can ID */ "https://github.com/login/oauth/authorize").build(); TokenResponse .