President Obama will give the proposed Keystone XL oil sands pipeline a green light, Moody’s predicts in a new report.

The fate of TransCanada Corp.’s proposed Alberta-to-Texas pipeline is shaping up as a major post-election battle.

Environmentalists oppose Keystone and will stage a Nov. 18 demonstration at the White House, while a number business groups and unions want the State Department to permit the project.

“We believe the White House will reverse course and approve the Keystone XL pipeline, which would ship crude from Canada’s western oil sands to the Gulf Coast,” the ratings agency said in a wide-ranging report Monday on the implications of the elections.