title: How to implement Openid connect and Spring Security
body: <p>I am beginner of authentication and authorization but I have to connect to a openid connect provider on my job. I know a little about how to use Spring Security. </p>
  
  <p>First, I got UserInfo object thanks by following nice direction.
  <a href="https://oauthssodemo.appspot.com/step/1">https://oauthssodemo.appspot.com/step/1</a></p>
  
  <p>And then I found a great implementation named "spring-security-oauth" below. I could run the app on tomcat and connect to facebook successfully.<br>
  <a href="https://github.com/SpringSource/spring-security-oauth">https://github.com/SpringSource/spring-security-oauth</a></p>
  
  <p>As next step, I want to connect google by using "spring-security-oauth" but I do not know how to do that completely. (To be honest, I do not know how differences openid connect and aouth2..)</p>
  
  <p>give me a clue. Any help will be appreciated. </p>