Skip to content

Instantly share code, notes, and snippets.

@asouza
Last active April 27, 2016 14:36
Show Gist options
  • Save asouza/4f6295839cdaa42f9769da48215271be to your computer and use it in GitHub Desktop.
Save asouza/4f6295839cdaa42f9769da48215271be to your computer and use it in GitHub Desktop.
@Controller
@RequestMapping("/connect")
public class CustomConnectController extends ConnectController {
@Autowired
public CustomConnectController(ConnectionFactoryLocator connectionFactoryLocator,
ConnectionRepository connectionRepository) {
super(connectionFactoryLocator, connectionRepository);
}
@Override
protected RedirectView connectionStatusRedirect(String providerId, NativeWebRequest request) {
return new RedirectView("/facebook/login");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment