It is mentioned multiple times in the books that Harry wanted to become an Auror while he was at school just like his parents. He was even disappointed in the HBP when he thought he wouldn't become one due to his grades in Potions.