May I ask how you voted? This seems to be an irregularity. When voting in federal elections in Australia you should only be asked for your name, address, and whether you have voted before in the particular election.
There was a bill before the federal Parliament to introduce voter ID, being the Electoral Legislation Amendment (Voter Integrity) Bill 2021 (Cth). This bill will lapse given the change of government and is unlikely to be reintroduced by Labor.