I know Canon Law says Confession must not be heard outside of a confessional without a just cause.
I have actually had confessions where I ask the priest to hear mine within 1/2 hour of mass and he agrees to hear my confession right in the pew as opposed to walking to the confessional.
With respect to Canon Law is this a valid confession since it was not in the confessional? I believe everything else was proper form. I wonder if the “just cause” is the fact it’s shortly before mass and he needs to be in the pew area? Do priests have leeway on what “just cause” is? Hoping it is valid and I’m not being scrupulous!