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
revoke token 403 failure
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
  3 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 will appear after it is approved by moderators
 
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
 
Blessed Geek  
View profile  
 More options Jun 25 2009, 6:08 am
From: Blessed Geek <blessedg...@gmail.com>
Date: Thu, 25 Jun 2009 03:08:56 -0700 (PDT)
Local: Thurs, Jun 25 2009 6:08 am
Subject: revoke token 403 failure
1. My JSP obtained an initialToken by

<%
String authReqUrl =
    AuthSubUtil.getRequestUrl(
        callBackLocation,
        "http://spreadsheets.google.com/feeds",
        false,
        true);
%>

<script>
location.replace("<%=authReqUrl%>");
</script>

2. Which was successfully exchanged for a session token thro

SessionAuthToken =
    AuthSubUtil.exchangeForSessionToken(
    initialToken, null);

3. Then I tried revoking the session token by
AuthSubUtil.revokeToken(SessionAuthToken, null);

But the response was 403 failure.

Which means my token is stuck in limbo, right?

What are the possible causes that I failed to revoke a session token?

Any advice?


 
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.
Eric Bidelman  
View profile  
 More options Jun 25 2009, 1:20 pm
From: Eric Bidelman <api.e...@google.com>
Date: Thu, 25 Jun 2009 10:20:31 -0700
Local: Thurs, Jun 25 2009 1:20 pm
Subject: Re: [GData Protocol] revoke token 403 failure

That's odd that you're getting a 403.  Everything looksOK to me.  Can you
query the token info?
http://code.google.com/apis/gdata/authsub.html#TokenInfo

BTW, you can always manually revoke a token at
https://www.google.com/accounts/IssuedAuthSubTokens

Eric


 
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.
Blessed Geek  
View profile  
 More options Jun 25 2009, 9:18 pm
From: Blessed Geek <blessedg...@gmail.com>
Date: Thu, 25 Jun 2009 18:18:17 -0700 (PDT)
Local: Thurs, Jun 25 2009 9:18 pm
Subject: Re: revoke token 403 failure
My mistake. I stored the SessionAuthToken in a session bean but tried
to retrieve it thro a page bean.

Anyway, I am glad to know that users could manage their tokens from
the URL you listed.

~Thx.


 
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 »