I've been trying to solve a bug report with our iOS app. Basically, the user is clicking on a button that pushes a UINavigationController with GTMOAuthViewControllerTouch as the root view controller. Right after launching the user is getting an error message triggered by GTMOAuthViewControllerTouch's delegate returning with NSError *error with a "400" code. This is happening to two of the user devices. Note that I haven't been able to reproduce the problem myself and that the problem has not been reported by anybody else.
Thank you.
[NSString stringWithFormat:@"%@ %@", kAdminSettingsScope, kProvisioningScope];
SEL OAuthFinishedSelector = @selector(viewController:finishedWithAuth:error:);
NSString *randomKeychain = @"RANDOM-KEYCHAIN";
GTMOAuthViewControllerTouch *oauthViewController =
[[GTMOAuthViewControllerTouch alloc] initWithScope:scope
appServiceName:randomKeychain
finishedSelector:OAuthFinishedSelector];
[oauthViewController setTitle:NSLocalizedString(@"Add Domain",
...UINavigationController configuration, colors, etc...
[self presentModalViewController:nc animated:YES];