If it's an in-person oath, you get the certificate immediately, apply for a passport the next day, get it in two days, apply for an Indian e-visa, takes another couple of days and you are good to travel.
If you leave Canada after the oath, without a Canadian passport, you won't be ably to fly...