Index: /branches/ag_client_motionProGlobal_ios/motionpro_ios_mac/Shared/Models/ClientSecurity/ClientSecurity.m
===================================================================
--- /branches/ag_client_motionProGlobal_ios/motionpro_ios_mac/Shared/Models/ClientSecurity/ClientSecurity.m	(revision 8416)
+++ /branches/ag_client_motionProGlobal_ios/motionpro_ios_mac/Shared/Models/ClientSecurity/ClientSecurity.m	(working copy)
@@ -95,7 +95,10 @@
         }
         DeviceInfo *device = [[DeviceInfo alloc] init];
         device.name = [attributeDict objectForKey:@"Name"];
-        device.securityInput = [[NSURL URLWithString:successURL].query substringFromIndex:[@"data=" length]];
+        //Bug 367 - Throughwave: can't authenticate with MotionPro Global on iOS17
+        //device.securityInput = [[NSURL URLWithString:successURL].query substringFromIndex:[@"data=" length]];
+        NSArray * array = [successURL componentsSeparatedByString:@"data="];
+        device.securityInput = [array lastObject];
         [self.devices addObject:device];
     }
 }
