Place chicken breasts in the bottom of your slow cooker.
Add the drained and rinsed white beans, diced onion, minced garlic, green chilies, chicken broth, cumin, oregano, chili powder, bay leaf, salt, and pepper.
Cover and cook on LOW for 6-8 hours or HIGH for 3-4 hours.
About 30 minutes before serving, remove the chicken from the slow cooker and shred it using two forks.
Return the shredded chicken to the slow cooker and remove the bay leaf.
Add the cubed cream cheese and stir until it's completely melted and incorporated, about 15 minutes. If using corn, add it now.
Taste and adjust seasonings as needed.
Serve hot with desired toppings such as avocado, cilantro, lime wedges, shredded cheese, sour cream, and tortilla strips.