code: public void doPostSignUp(String userId, RequestAttributes request) {
  		ProviderSignInAttempt signInAttempt = (ProviderSignInAttempt) sessionStrategy.getAttribute(request, ProviderSignInAttempt.SESSION_ATTRIBUTE);
  		if (signInAttempt != null) {
  			signInAttempt.addConnection(userId,connectionFactoryLocator,connectionRepository);
  			sessionStrategy.removeAttribute(request,ProviderSignInAttempt.SESSION_ATTRIBUTE);
  		}		
  	}
docs: Add the connection to the provider user the client attempted to sign-in with to the new local user's set of connections.
  Should be called after signing-up a new user in the context of a provider sign-in attempt.
  In this context, the user did not yet have a local account but attempted to sign-in using one of his or her existing provider accounts.
  Ensures provider sign-in attempt session context is cleaned up.
  Does nothing if no provider sign-in was attempted for the current user session (is safe to call in that case).
  @param userId the local application's user ID
  @param request the current request attributes, used to extract sign-in attempt information from the current user session