WIP feat(oauth): message to native flows

Check to ensure result.redirect exists before splitting it, and that redirectParams exists when complete.