Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I notice that there is an oAuth endpoint for the stackexchange API: https://api.stackexchange.com/docs/authentication

The OpenID implementation used by StackExchange is open sourced at https://code.google.com/p/stackid/

Is there an open source implementation of the oAuth2 provider capabilities used by stackexchange API? If not, any information on what (C#?) implementation the stackexchange network uses?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

We're not using a library for OAuth 2.0 in the API.

For one, OAuth 2.0 is a lot simpler than OAuth 1.0a and as such the benefits of pulling in a dependency to manage it are a lot smaller. We also had to deal with our existing OpenID dependency in the login/auth process, which is a fairly unique situation to be in.

Given how tightly integrated our implementation is (and the unusual nature of OpenID, not to mention having a separate domain [stackexchange.com] managing the OAuth flow) I doubt we'll ever be in a position to open source it.

share|improve this answer
    
Thanks for the authorized answer and mentioning the simplicity of OAuth 2.0. Just for the record, is the separate domain for OAuth flow stackexchange.co or stackauth.com? –  David d C e Freitas Feb 16 '12 at 6:45
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .