Comments (7)
Hello plainwu,
I understand that you want to talk to the Google Data API using the OAuth-php
library? Google requires a
'scope' parameter for the request_token uri. Which uris did you configure?
I've found this documentation mentioning the 'scope' parameter:
http://code.google.com/apis/accounts/docs/OAuth.html
An issue you will run into is that Google only supports RSA-SHA1 hashes. At
the moment we don't support
this signature method (due to key management issues). Currently we support
PLAINTEXT, HMAC-SHA1 and
MD5.
- Marc
Original comment by [email protected]
on 8 Sep 2008 at 8:49
from oauth-php.
ok... thanks for your reply
Original comment by [email protected]
on 9 Sep 2008 at 7:33
from oauth-php.
We are refactoring the library so that it will be possible to use it with
RSA-SHA1. Refactoring is necessary as the
signing with RSA-SHA1 requires a different signature verification flow.
Original comment by [email protected]
on 9 Sep 2008 at 8:22
from oauth-php.
That's a great news....
Look forward to your next release...
Original comment by [email protected]
on 9 Sep 2008 at 10:56
from oauth-php.
I just added code to support RSA-SHA1 signing.
This very alpha quality and needs some testing.
For now you can check:
http://code.google.com/p/oauth-
php/source/browse/trunk/library/signature_method/OAuthSignatureMethod_RSA_SHA1.p
hp
Original comment by [email protected]
on 1 Oct 2008 at 3:14
from oauth-php.
I consider this bug as fixed, as we do support RSA-SHA1 code signing now.
Original comment by [email protected]
on 25 Jan 2009 at 11:22
- Changed state: Fixed
from oauth-php.
Hi I am writing c# .net application to test OAuth and I am getting
parameter_absent oauth_parameters_absent:scope Error
Please help. Here is my code
UnityContainer unityContainer = new UnityContainer();
UnityConfigurationSection section = (UnityConfigurationSection)ConfigurationManager.GetSection("oauth.net.consumer");
section.Containers.Default.Configure(unityContainer);
ServiceLocator.SetLocatorProvider(() => new UnityServiceLocator(unityContainer));
OAuthConsumer oAuthConsumer = new OAuthConsumer("anonymous", "anonymous", "My Application");
IServiceLocator serviceLocator = ServiceLocator.Current;
OAuthService oAuthService = OAuthService.Create(new EndPoint("https://www.google.com/accounts/OAuthGetRequestToken"), new Uri("https://www.google.com/accounts/OAuthAuthorizeToken"), new EndPoint("https://www.google.com/accounts/OAuthGetAccessToken"), oAuthConsumer);
OAuthRequest oAuthRequest = OAuthRequest.Create(new EndPoint("https://www.google.com/calendar/feeds/default/private/full"), oAuthService);
OAuthResponse oAuthResponse = oAuthRequest.GetResource(); // Here I am getting error
Here is my App.config file
<configuration>
<configSections>
<section name="oauth.net.consumer" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration"/>
</configSections>
<oauth.net.consumer>
<containers>
<container>
<types>
<type type="OAuth.Net.Common.ISigningProvider, OAuth.Net.Common"
mapTo="OAuth.Net.Components.HmacSha1SigningProvider, OAuth.Net.Components"></type>
<type type="OAuth.Net.Common.INonceProvider, OAuth.Net.Common"
mapTo="OAuth.Net.Components.GuidNonceProvider, OAuth.Net.Components" />
</types>
</container>
</containers>
</oauth.net.consumer>
</configuration>
Original comment by [email protected]
on 7 Jan 2011 at 6:24
from oauth-php.
Related Issues (20)
- Example server code does not seem to be storing session for testing HOT 3
- OAuthStoreAnyMeta references out-of-project include HOT 1
- Signed request with trailing & on url HOT 3
- OAuthRequest.php: No Hostname/Port detected when using http://localhost:8888/Bla/index.php, for example. HOT 2
- Remove $_SESSION dependency HOT 17
- Add some very simple DB wrapper so we can use mysqli or PDO instead of mysql_* HOT 47
- Verification of signature failed when query string is included in oAuth Request HOT 2
- Can unzip .tar.gz HOT 1
- Incompatible with PECL's OAuth HOT 1
- Support for MySQLi HOT 1
- osr_callback_uri is never read HOT 1
- Improper OAuthException22 referenced in OAuthStoreMySQL HOT 1
- RSA-SHA1 becomes RSA_SHA1 when sent to server HOT 1
- Undefined index 'host' in OAuthRequest on line 513 HOT 1
- Fatal error: Class 'OAuthException22' not found HOT 2
- is Mysql or any other database required to for oauth store for consumer? can we store the info in sessions HOT 10
- Get client ID or consumer_key from OAuthRequestVerifier HOT 2
- No support for duplicate consumer keys
- OAuth Core 1.0 Revision A Compatibility HOT 25
- Content-Type missed in POST HOT 3
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 oauth-php.