At the Yalta Conference it was agreed that membership would be open to nations that had joined the Allies by 1 March 1945. Brazil, Syria and a number of other countries qualified for membership by declarations of war on either Germany or Japan in the first three months of 1945 -- in some cases retroactively.
at which conference were the terms of membership created for the united nations
Yalta Conference