Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3333002
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:44:55+00:00 2026-05-17T23:44:55+00:00

I am struggling trying to pick apart the OAuth Service Provider example which is

  • 0

I am struggling trying to pick apart the OAuth Service Provider example which is included in DotNetOpenAuth. I searched SO and found a few similar/related posts, but nothing really useful. Is there any open-source project or really simple/primitive example of an ASP.NET MVC 2 OAuth Service Provider? All I want to use OAuth for is authentication of the service. I was going to roll my own api with a key/secret, but thought a tried and tested protocol like OAuth would probably be a better solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:44:55+00:00Added an answer on May 17, 2026 at 11:44 pm

    I ended up doing some extensive research to find that I didn’t need the traditional 3-legged OAuth and only needed 2-legged. The problem is 2-legged OAuth information is pretty hard to find. I finally found an Google spec for implementing 2-legged OAuth:

    http://oauth.googlecode.com/svn/spec/ext/consumer_request/1.0/drafts/2/spec.html

    I also found an implementation of it, as Justin.tv is using it for their services:

    http://apiwiki.justin.tv/mediawiki/index.php/OAuth_Ruby_Tutorial

    I also stumbled across an excellent OAuth testing tool which helped me greatly in implementing the service:

    http://term.ie/oauth/example/client.php

    2-legged OAuth is pretty simple once you understand what you are looking for and how to implement it. If you’re searching for OAuth, most likely you are finding articles talking about the traditional 3-legged OAuth which involves 3-parties as the name implies: consumers, service providers, AND users. Two-legged strictly involves consumers and service providers. If you’re service does not deal with users specifically, 2-legged OAuth is just what you’re looking for.

    As for a framework, I am using ASP.NET MVC so I ended up settling on a github repository located here:

    https://github.com/buildmaster/oauth-mvc.net

    Its got some really nice, clean code, and uses dependency injection (Ninject). It didn’t take much for me to be able to modify it for 2-legged OAuth.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been struggling with this for the past few hours. All I'm trying
Have been struggling all day trying to make this simple example work using socket.io.
I'm struggling trying to teach myself Mockito. Consider the following method, hasInventory() , which
I am struggling trying to perform what I would think would be a relatively
Erlang version: R13B01 Currently I'm struggling trying to make Erlang work with SSL. The
I'm struggling myself trying to find an easy way to change the DateTime format
I'm struggling with trying to sort an array of dictionaries. My dictionaries have a
I'm struggling a lot trying to get our build server going. I am currently
I'm currently struggling a bit trying to keep my controller specs DRY and succinct
I have been struggling all afternoon trying to get a simple mailto: tag to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.