Sacred flame is quite underpowered when compared to the other cantrips, that being said it does not need a massive buff to damage or some ridiculous modifier. It simply needs one of three changes to improve consistency:
1.) Change the saving throw from DEX to INT, WIS, or CHA. As these skills tend to be lower in npc opponents and would improve the odds of dealing damage.
2.) Add the spell modifier that enemies take half damage when succeeding a saving throw. This way the spell would always deal some minuscule damage but would still reliably proc radiant damage modifiers improving build consistency.
3.) Last but not least (and my personal favourite) simply make it an attack cantrip so it rolls against AC and not abilities. This solution I think makes the most sense when compared to other cantrips that deal damage.
Sacred Flame needs a consistency buff, it does not need the power of something like eldritch blast but it does need to be a reliable way to deal some damage. As of now it does the same damage as ray of frost, shocking grasp, and bone chill, all of which have additional bonuses and make attack rolls. It deals less damage than poison spray and fire bolt while being far less likely to deal damage.
SF does have its upsides as well, rare radiant damage, distance, and the ability to hit enemies in more awkward positions than some of the others. However, with how rarely the spell actually deals damage it is simply never the right choice. All the reasons are why SF needs a simple fix to make it a bit more consistent and none of the suggested changes would make it over powered or even the best option most of the time, in my opinion. They would simply allow the spell to be utilised. Any thoughts and suggestions appreciated. If anyone at Larian sees this, thank you for an amazing game and please give this cool, very niche spell, a bit of attention.