Comments (3)
I can't reproduce this. Nor do I understand it, since the token request isn't
signed with the token or the token
secret (the -tokenRequestKeys method lists what parameters the request request
is signed with), and if the
request succeeds, then the response (to requestFetcher:finishedWithData:)
includes both a token and token
secret, which immediately get saved together into the auth object.
Original comment by gregrobbins
on 11 May 2010 at 2:04
from gdata-objectivec-client.
-tokenRequestKeys includes kOAuthSignatureKey, which causes
-paramsForKeys:request: to call -signatureForParams:request:, which then
creates a signature using
the private key _and_ the currently stored token secret (line 281 of
GDataOAuthAuthentication.m). Here's the relevant backtrace.
#4 +[GDataOAuthAuthentication HMACSHA1HashForConsumerSecret:tokenSecret:body:]
(self=0x5bd74, _cmd=0x4d9d6, consumerSecret=0x595c8,
tokenSecret=0x0, body=0x727b2f0) at /Users/ddickison/src/iPhone
Apps/Etsy/Libraries/gdata-objectivec-client/OAuth/GDataOAuthAuthentication.m:897
#5 0x0003e9dd in -[GDataOAuthAuthentication signatureForParams:request:]
(self=0x7254120, _cmd=0x4dea1, params=0x727a2f0, request=0x727a250) at
/Users/ddickison/src/iPhone
Apps/Etsy/Libraries/gdata-objectivec-client/OAuth/GDataOAuthAuthentication.m:283
#6 0x0003e379 in -[GDataOAuthAuthentication paramsForKeys:request:]
(self=0x7254120, _cmd=0x4debd, keys=0x727a2c0, request=0x727a250) at
/Users/ddickison/src/iPhone
Apps/Etsy/Libraries/gdata-objectivec-client/OAuth/GDataOAuthAuthentication.m:179
#7 0x0003f9ba in -[GDataOAuthAuthentication
addAuthorizationHeaderToRequest:forKeys:] (self=0x7254120, _cmd=0x4dd05,
request=0x727a250,
keys=0x727a2c0) at /Users/ddickison/src/iPhone
Apps/Etsy/Libraries/gdata-objectivec-client/OAuth/GDataOAuthAuthentication.m:558
#8 0x0003f3a9 in -[GDataOAuthAuthentication addRequestTokenHeaderToRequest:]
(self=0x7254120, _cmd=0x4de23, request=0x727a250) at
/Users/ddickison/src/iPhone
Apps/Etsy/Libraries/gdata-objectivec-client/OAuth/GDataOAuthAuthentication.m:472
#9 0x0003c81f in -[GDataOAuthSignIn startSigningIn] (self=0x7270ce0,
_cmd=0x4d30a) at /Users/ddickison/src/iPhone
Apps/Etsy/Libraries/gdata-objectivec-
client/OAuth/GDataOAuthSignIn.m:167
Original comment by [email protected]
on 11 May 2010 at 3:06
from gdata-objectivec-client.
Thank you for the elaboration, and for reporting the issue. I can reproduce the
problem now.
Change submitted:
http://code.google.com/p/gdata-objectivec-client/source/detail?r=527
Original comment by gregrobbins
on 11 May 2010 at 7:57
- Changed state: Fixed
from gdata-objectivec-client.
Related Issues (20)
- Patch for /trunk/Source/Clients/Analytics/GDataAnalyticsMetric.h
- Youtube upload file failed with error 500 (internal erro) HOT 1
- Crash in the GDataXMLNode class
- Code can not be build after adding GDataXMLNode.o HOT 1
- Picasa user album list query only returns partial result HOT 2
- Photo Entry returned without thumbnail HOT 1
- OAuth 2 Login screen unusable when viewed in Arabic HOT 4
- can't connect to my account programmatically using GDataServiceGoogleAnalytics service HOT 1
- user tags fetch returns tags no longer in use HOT 1
- Errors when using non UTF-8 characters HOT 1
- GData svn checkout HOT 1
- token nil with youtube api v3 on ios HOT 1
- Building the framework in Xcode 5.1 causes an unused variable 'kTitleAttr' error HOT 3
- Failure callback not working in iOS
- Duplicate Symbol
- sign in within the app | removing the safari redirection
- Linker errors when using google-objectivec-client and google-plus-ios-sdk HOT 2
- GDataXMLNode.m repeat in compile sources HOT 1
- Memory Uses Keep Increasing
- GData does not validate server certificate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdata-objectivec-client.