code: protected String getRefreshUrl(HttpServletRequest request, ApiException apiException) {
  		String scopeNeeded = getRequiredScope(apiException);
  		StringBuilder sb = new StringBuilder(request.getContextPath() + CONNECT_PATH + apiException.getProviderId())
  			.append(RECONNECT_PARAMETER_EQUALS_TRUE);
  		if (scopeNeeded != null) {
  			sb.append(SCOPE_PARAMETER_EQUALS + scopeNeeded);
  		}
  		return sb.toString();
  	}
docs: Returns the URL to redirect to if it is determined that a connection needs to be renewed.
  By default, the filter will redirect to /connect/{provider ID} with a "reconnect" query parameter.
  This filter also handles GET requests to that same path before submitting a POST request to {@link ConnectController} for authorization.
  May be overridden by a subclass to handle other flows, such as redirecting to a page that informs the user that a new connection is needed.
  @param request The HTTP request that triggered the exception.
  @param apiException The {@link ApiException}.
  @return the URL to redirect to if a connection needs to be renewed.