authz code reorg