Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
OAuth login error.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Hallo TS  
View profile  
 More options Oct 17 2012, 3:40 am
From: Hallo TS <yanzhi.z...@i-c-soft.com>
Date: Wed, 17 Oct 2012 00:40:02 -0700 (PDT)
Local: Wed, Oct 17 2012 3:40 am
Subject: OAuth login error.

<https://lh4.googleusercontent.com/-7SEcb7ZaZ3k/UH5fkTHcGoI/AAAAAAAAAA...>
When I use oauth2 to login, first I got the page:

<https://lh6.googleusercontent.com/-dJ-I7kFW2DI/UH5gA_D4EtI/AAAAAAAAAA...>
After i login ,I got the page:

<https://lh6.googleusercontent.com/-JDbQFs_AyZo/UH5gOtdpSOI/AAAAAAAAAA...>
the I cliked "allow access ", and got:

<https://lh4.googleusercontent.com/-DwoP3hsCkdY/UH5gdEmd7CI/AAAAAAAAAA...>
finally, cliking "here" make it:

How to solve this error.
Could anyone help me? thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options Oct 17 2012, 10:43 pm
From: Greg Robbins <grobb...@google.com>
Date: Wed, 17 Oct 2012 19:42:38 -0700
Local: Wed, Oct 17 2012 10:42 pm
Subject: Re: OAuth login error.

Thanks for posting the images. I have passed them on to the server
engineers for investigation.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options Oct 17 2012, 10:56 pm
From: Greg Robbins <grobb...@google.com>
Date: Wed, 17 Oct 2012 19:56:03 -0700
Local: Wed, Oct 17 2012 10:56 pm
Subject: Re: OAuth login error.

Can you confirm that Javascript is enabled for the webview?

Be sure that DEBUG is defined to 1 in your development builds, to enable
the assert that checks for Javascript support. (See webViewDidFinishLoad:
in  GTMOAuth2ViewControllerTouch)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hallo TS  
View profile  
 More options Oct 18 2012, 12:24 am
From: Hallo TS <yanzhi.z...@i-c-soft.com>
Date: Wed, 17 Oct 2012 21:24:06 -0700 (PDT)
Local: Thurs, Oct 18 2012 12:24 am
Subject: Re: OAuth login error.

webViewDidFinishLoad is:

- (void)webViewDidFinishLoad:(UIWebView *)webView {

  [self notifyWithName:kGTMOAuth2WebViewStoppedLoading

               webView:webView

                  kind:kGTMOAuth2WebViewFinished];

  NSString *title = [webView stringByEvaluatingJavaScriptFromString:
@"document.title"];

  if ([title length] > 0) {

    [signIn_ titleChanged:title];

  } else {

#if DEBUG

    // Verify that Javascript is enabled

    NSString *result = [webView stringByEvaluatingJavaScriptFromString:
@"1+1"];

    NSAssert([result integerValue] == 2, @"GTMOAuth2: Javascript is
required");

#endif

  }

  if (self.request && [self.initialHTMLString length] > 0) {

    // The request was pending.

    [self setInitialHTMLString:nil];

    [self.webView loadRequest:self.request];

  } else {

    [signIn_ cookiesChanged:[NSHTTPCookieStorage sharedHTTPCookieStorage]];

    [self updateUI];

  }

}

I write " #define DEBUG 1" at the beginning
of GTMOAuth2ViewControllerTouch.m, but it did not works, the same error
occured.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hallo TS  
View profile  
 More options Oct 18 2012, 2:48 am
From: Hallo TS <yanzhi.z...@i-c-soft.com>
Date: Wed, 17 Oct 2012 23:48:45 -0700 (PDT)
Local: Thurs, Oct 18 2012 2:48 am
Subject: Re: OAuth login error.

*I init viewController like this:*

viewController = [[GTMOAuth2ViewControllerTouch controllerWithScope:scope

                                                              clientID
:clientID

                                                          clientSecret
:clientSecret

                                                      keychainItemName:
kKeychainItemName

                                                              delegate:self

                                                      finishedSelector
:finishedSel]autorelease];
*Then push it :*
    [self dismissViewControllerAnimated:YES completion:nil];

    [self presentViewController:viewController animated:YES completion:nil];

but the error I said before occured, and the finishedSelector have not
executed;


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options Oct 18 2012, 9:55 pm
From: Greg Robbins <grobb...@google.com>
Date: Thu, 18 Oct 2012 18:54:41 -0700
Local: Thurs, Oct 18 2012 9:54 pm
Subject: Re: OAuth login error.

The server team can reproduce the problem on clients where Javascript is
disabled, so be sure that is not the case for the controller's webview in
your app. That problem will be addressed by the server team.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hallo TS  
View profile  
 More options Oct 21 2012, 11:03 pm
From: Hallo TS <yanzhi.z...@i-c-soft.com>
Date: Sun, 21 Oct 2012 20:03:02 -0700 (PDT)
Local: Sun, Oct 21 2012 11:03 pm
Subject: Re: OAuth login error.

It works well when I use another mac to run my project. I think it was the
simulator that made the error.
I have another question that , when I used the client ID registered as
"installed application" -> IOS, error "invalid_client" occur, but when I
changed it to  "installed application" -> other, It works well.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options Oct 22 2012, 2:46 am
From: Greg Robbins <grobb...@google.com>
Date: Sun, 21 Oct 2012 23:45:32 -0700
Local: Mon, Oct 22 2012 2:45 am
Subject: Re: OAuth login error.

The API Console's registration incorrectly labels client ID registration as
"iOS" when that's only for clients using the Google+ SDK.

See
http://code.google.com/p/gtm-oauth2/wiki/Introduction#Registering_You...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joel Shafer  
View profile  
 More options Oct 30 2012, 2:21 pm
From: Joel Shafer <joels...@gmail.com>
Date: Tue, 30 Oct 2012 11:21:42 -0700 (PDT)
Local: Tues, Oct 30 2012 2:21 pm
Subject: Re: OAuth login error.

Greg,

Our QA team at Quickoffice is reporting this same problem.  It seems to
occur on the first run of the product only on iOS 5 devices.  Subsequent
attempts to login work fine.  Is there a fix in the works?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »