oauth-provider

Implementing a 2 Legged OAuth Provider

I'm trying to find my way around the OAuth spec, its requirements and any implementations I can find and, so far, it really seems like more trouble than its worth because I'm having trouble finding a single resource that pulls it all together. Or maybe it's just that I'm looking for something more specialized than most tutorials. I have...

Rails two-legged OAuth provider?

I have a rails 2.3.5 application with an API I wish to protect. There is no user - it is an app to app style webservice (more like an Amazon service than facebook), and so I would like to implement it using a two-legged OAuth approach. I have been trying to use the oauth-plugin server implementation as a start: http://github.com/pelle...

openid along with oauth ?

in my application, user sign in/sing out via openid ( same as stackoverlfow ). i would like to open up my application a bit via oauth to third party applications. how do i create my app which is openid-consumer to make it oauth-provider ? is there some standard,library etc out there ? i am basically working in app engine and python...

Rails Oauth Desktop Plugins

I am creating a rails application that I also wish to work as a native app on the iPhone and Android. In order to facilitate this, I was thinking about becoming an OAuth provider. Is there a rails OAuth plugin that will work like this, or is there a better solution to protect the API? Note: I have found pelle's OAuth plugin, and it...

OAuth2 Access Token Response

Quick question regarding the OAuth2 Spec, in particular section 5.1.5. Reading that spec, it appears that the response needs to be formatted as JSON regardless of the format requested. Is that the standard or are other formats (i.e. XML) also supported? Thanks. ...

Set up a PHP OAuth Provider

Alright I am trying to set up an OAuth Provider in PHP, but I just cannot get the hang of it. I've been referenced to this page a number of times, but I cannot wrap my head around it. Could someone help me out, step by step, or reference me to a more direct guide? Thank you very much. ...

oauth2 and trusted sites

Hi, is there any possibility to work with trusted sites (for example - sites of one developer) using oauth/oauth2 without confirmation of access to user data? ...

ruby's oauth2 grant_type

Hi, i started using oauth2 gem by intridea (http://github.com/intridea/oauth2) and don't know how to fix this problem. I have developed both client and server and on request for access_token i see no grant_type parameter. My code from client callback controller class CallbackController < Devise::OauthCallbacksController def accounts ...

How to process Oauth nonces on the server side ?

I am writing the provider part of the OAuth protocol on the serverside and I'm cracking my ahead over how much of the nonces sent by OAuth consumers that I need to cache. According to twitter's docs, Twitter will only allow a nonce to be used once by your application. Prevents replayed requests. The question: My implementati...

What should I do to verify an OAuth signature in PHP with PECL OAuthProvider?

I'm trying to verify an OAuth signature in PHP with PECL OAuthProvider. But almost its functions is not documented. ex) http://www.php.net/manual/en/oauthprovider.setparam.php What should I do? Is there unofficial document or sample code for PECL OAuthProvider? ...

OAuth 2.0 Service Provider .NET libraries

I'm currently investigating OAuth 2.0 Service Provider solutions for .NET (I appreciate that 2.0 isn't a complete spec). What libraries are people currently aware of, other than DotNetOpenAuth ? ...

Gem for oAuth2 Consumer AND Provider functionality in Rails 2.3.5

Hi there, I'm struggling finding a usable gem which provides the following for a Rails 2.3.5 application: we want to protect out API with oAuth 2; therefore a Controller for creating access/request Tokens and the models (Client, Token,...) are required we want to consume oAuth2 Services like Facebook and Twitter It would also be nic...

Writing an API for Rails OAuth provider

I'm having trouble figuring out how to write an REST API using OAuth authentication. The actual authentication part is working fine, but I'm not sure how to access the OAuth token in order to find the associated user. Here is the (barebones) code that I am currently working with in my controller: class UsersController < ApplicationCont...

Zend Framework Oauth Provider

How can I add a Oauth provider to a web application using Zend Framework? Zend Framework has support for oauth consumers, but I don't see a provider support. What do you use to implement a Oauth provider in php (with Zend Framework)? ...