In a similar situation I used a pegged/wedged through-tenon. It also helped to make the long blank legs more interesting.