Use code flow for public as well as confidential clients