Yes, he endorsed a global peacekeeper in his latest encyclical. Yes, he REJECTED the lack of morals of many NGOs in the world. I read that as a REJECTION of the UN, but an endorsement of global governance by a pro-life entity. Leftists interpret it as an endorsement of the UN.
And that 'entity' is coming soon: The Lord Jesus christ's Millenial Reign.