anchor.diff:  [source,java]
   ----
   @Controller
  -public class OAuth2LoginController {
  -
  -	@RequestMapping("/userinfo")
  -	public String userinfo(@RegisteredOAuth2AuthorizedClient("google") OAuth2AuthorizedClient authorizedClient) {
  +public class OAuth2ClientController {
  +
  +	@RequestMapping("/")
  +	public String index(@RegisteredOAuth2AuthorizedClient("okta") OAuth2AuthorizedClient authorizedClient) {
   		OAuth2AccessToken accessToken = authorizedClient.getAccessToken();
   
   		...
   
  -		return "userinfo";
  +		return "index";
   	}
   }
   ----
  
positive.code: 
  From a developer perspective, the `OAuth2AuthorizedClientRepository` or `OAuth2AuthorizedClientService` provides the capability to lookup an `OAuth2AccessToken` associated with a client so that it may be used to initiate a protected resource request.
  
  [NOTE]
  Spring Boot 2.x auto-configuration registers an `OAuth2AuthorizedClientRepository` and/or `OAuth2AuthorizedClientService` `@Bean` in the `ApplicationContext`.
  However, the application may choose to override and register a custom `OAuth2AuthorizedClientRepository` or `OAuth2AuthorizedClientService` `@Bean`.
  
  The following listing shows an example:
  
  [source,java]
  ----
  @Controller
  public class OAuth2LoginController {
  
  	@Autowired
  	private OAuth2AuthorizedClientService authorizedClientService;
  
  	@RequestMapping("/userinfo")
  	public String userinfo(OAuth2AuthenticationToken authentication) {
  		// authentication.getAuthorizedClientRegistrationId() returns the
  		// registrationId of the Client that was authorized during the oauth2Login() flow
  		OAuth2AuthorizedClient authorizedClient =
  			this.authorizedClientService.loadAuthorizedClient(
  				authentication.getAuthorizedClientRegistrationId(),
  				authentication.getName());
  
  		OAuth2AccessToken accessToken = authorizedClient.getAccessToken();
  
  		...
  
  		return "userinfo";
  	}
  }
  ----
  
  
  [[oauth2Client-authorized-manager-provider]]
  
negative.code: 
  	@RequestMapping("/")
  	public String index() {
  		ClientRegistration oktaRegistration =
  			this.clientRegistrationRepository.findByRegistrationId("okta");
  
  		...
  
  