He also sent delegations of openly gay U.S. athletes to represent America in his place at the Winter Olympics in Sochi, Russia this month — a snub of that country's discriminatory laws against gay citizens and their supporters.
And last year, the president ignored critics at home and abroad to send an openly gay U.S. ambassador, James Brewster, to serve in the conservative Dominican Republic.
Activists say that the new focus on gay rights overseas is a culmination of years of work by Obama and former Secretary of State Hillary Clinton.
In 2011, Clinton spelled out that policy initiative in a speech famous among foreign policy circles: "Gay rights are human rights," she announced in Geneva, echoing another one of her famous speeches in Beijing where she said "women's rights are human rights."
That same day, the president released a memorandum instructing all foreign affairs agencies to find ways to promote gay rights abroad.
To be sure, Americans are far from settled politically on the issue of gay rights. Many Republicans continue to oppose same-sex marriage, and the fight over the Employment Non-Discrimination Act will likely take years. But there are signs that the once-hot fight among social conservatives has cooled, such as Wednesday's veto by Republican Gov. Jan Brewer Arizona of an anti-gay bill.
American attitudes toward more overt discrimination overseas are much more unified.
That's because American leaders recognize that gay rights is the next battle front in the ongoing global fight to protect human rights, argued Mark Bromley of the Council for Global Equality, an international coalition promoting LGBT rights.
"Most countries around the world now understand that there are consequences to disadvantaging women or to treating some of their ethnic or indigenous minorities with contempt," Bromley said. "But there's still sort of a free rein in many countries to target and persecute many LGBT individuals."
He also thinks some leaders, such as Russia's Vladimir Putin, foment persecution of gay citizens to distract from greater economic and political stability problems.
Whatever the reason, it's jarring to compare American laws that allow gay couples to marry in 17 states with foreign laws that make homosexuality illegal in 38 African countries, said Ty Cobb, who runs the global engagement program for the LGBT advocacy group Human Rights Campaign.
"Americans are shocked by the contrast between the progress we're seeing and the backsliding in other countries," he said.
That may explain why, unlike the domestically divisive issue of same-sex marriage, supporting basic gay rights abroad is an increasingly bipartisan issue in Congress.