Authorisation process using cpp.