Building up machinery to handle authorization codes