Corner post for flush beam deck
I'd suggest a 2 piece corner connector like a Simpson Strong-Tie LCE4. Link. This will transfer your load to the post below. The same connector could be used for your roof-bearing post. Or you could move the roof post in a tiny bit and use an AC connector (same link).



I'd also add some diagonal bracing from your posts for a little bit of added security.

Alternately, if you could live with the post being 3" in from the corner, you could run full length right to the roof by carriage bolting the ledgers to the outsides of the post. (This will require a bit of fiddling with the deck boards, but it strikes me as a more elegant solution.)