anchor.diff:  ----
   
   [IMPORTANT]
  -You will need to provide a `@Controller` with a `@RequestMapping("/login/oauth2")` that is capable of rendering the custom login page.
  +You need to provide a `@Controller` with a `@RequestMapping("/login/oauth2")` that is capable of rendering the custom login page.
   
   [TIP]
   ====
  -As noted, configuring `oauth2Login().authorizationEndpoint().baseUri()` is optional.
  +As noted earlier, configuring `oauth2Login().authorizationEndpoint().baseUri()` is optional.
   However, if you choose to customize it, ensure the link to each OAuth Client matches the `authorizationEndpoint().baseUri()`.
   
  -For example:
  +The following line shows an example:
   
   [source,html]
   ----
  
positive.code: }
  ----
  
  The sections to follow will go more into detail on each of the configuration options available.
  
  [[oauth2login-advanced-login-page]]
  === OAuth 2.0 Login Page
  
  By default, the OAuth 2.0 Login Page will be _auto-generated_ by the `DefaultLoginPageGeneratingFilter`.
  The default login page will display each configured OAuth Client with it's `ClientRegistration.clientName`
  as a link, that is capable of initiating the _Authorization Request_ (or OAuth 2.0 Login).
  
  The link's destination for each OAuth Client defaults to the following:
  
  `OAuth2AuthorizationRequestRedirectFilter.DEFAULT_AUTHORIZATION_REQUEST_BASE_URI` + "/{registrationId}"
  
  For example:
  
  [source,html]
  ----
  <a href="/oauth2/authorization/google">Google</a>
  ----
  
  If you would like to override the default login page,
  you need to configure `oauth2Login().loginPage()` and optionally `oauth2Login().authorizationEndpoint().baseUri()`.
  
  For example:
  
  [source,java]
  ----
  
negative.code: [[oauth2login-advanced-authorization-endpoint]]
  === Authorization Endpoint
  
  The authorization endpoint works through the `AuthorizationRequestRepository`, as described in the next sub-section.
  //TODO Is there more to the Authorization Endpoint than the repository? If so, those details should be added to this section.
  
  
  [[oauth2login-advanced-authorization-request-repository]]
  ==== `AuthorizationRequestRepository`
  
  `AuthorizationRequestRepository` is responsible for the persistence of the `OAuth2AuthorizationRequest`
  from the time the Authorization Request is initiated to the time the Authorization Response
  is received (the callback).
  
  [TIP]
  The `OAuth2AuthorizationRequest` is used to correlate and validate the Authorization Response.
  
  The default implementation of `AuthorizationRequestRepository` is `HttpSessionOAuth2AuthorizationRequestRepository`,
  which stores the `OAuth2AuthorizationRequest` in the `HttpSession`.
  
  If you would like to provide a custom implementation of `AuthorizationRequestRepository`
  that stores the attributes of `OAuth2AuthorizationRequest` in a `Cookie`,
  configure it as shown in the following example:
  
  [source,java]
  ----
  