Parse a space-separated scope string into a list.
List<String> parseScopes(String? scopeString) { return scopeString?.split(' ').where((s) => s.isNotEmpty).toList() ?? []; }