title: What's the different between oauth2Login and oauth2Client? what are the use-case of them?
body: <p>I have seen the Spring security docs.<a href="https://docs.spring.io/spring-security/site/docs/5.2.1.RELEASE/reference/htmlsingle/#oauth2" rel="noreferrer">https://docs.spring.io/spring-security/site/docs/5.2.1.RELEASE/reference/htmlsingle/#oauth2</a> But I don't really know the different use-case between oauth2Login() and oauth2Client(). Are there any samples ?</p>