anchor.diff:  
   
   [[jc-oauth2login-completely-override-autoconfiguration]]
  -Completely Override the Auto-configuration
  +===== Completely Override the Auto-configuration
   
   The following example shows how to completely override the auto-configuration by both registering a `ClientRegistrationRepository` `@Bean` and providing a `WebSecurityConfigurerAdapter`, both of which were described in the two preceding sections.
   
  
positive.code: ----
  
  [[oauth2login-advanced-userinfo-endpoint]]
  === `UserInfo` Endpoint
  
  The `UserInfo` endpoint includes a number of configuration options, as described in the following sub-sections:
  
  * <<oauth2login-advanced-map-authorities>>
  * <<oauth2login-advanced-custom-user>>
  
negative.code: 
  [NOTE]
  `OAuth2UserService` is responsible for obtaining the user attributes
  of the end user (the resource owner) from the UserInfo Endpoint (by using the
  access token granted to the client during the authorization flow)
  and return an `AuthenticatedPrincipal` in the form of an `OidcUser`.
  
  