I'm going to attempt to give a simple answer: you should either ask to delay your oath ceremony, change your departure date from Canada, or accept that you will have to apply for and get a passport abroad (or possibly one or two other ways to get authorization / return to Canada) - and that may...