They're pretty different, but they both talked God at some point. Spinoza would say God is incomprehensible, Kierkegaard would say God is a paradox. They're coming from different traditions - Systematic/unsystematic, Pre-Enlightenment/Post-enlightenment so the context doesn't exactly match up perfectly.