Questions tagged [dotnetopenauth]

DotNetOpenAuth is an open source library for OpenID 1.1 and 2.0 supporting OAuth 1.0, 1.1, 2.0 as Consumer and Service Provider.

DotNetOpenAuth is a free and open source library and is available from DotNetOpenAuth.net. It features support for OpenID 1.1 and 2.0 Relying Parties and Providers, OAuth 1.0 & 1.1 Consumers and Service Providers, OAuth 2.0 Clients, Resource Servers and Authorization Servers, and Information Card relying parties.

It was formerly knows as DotNetOpenId, but was renamed when it added OAuth and InfoCard support.

Please use this tag instead of the older "dotnetopenid" tag.

Installation

You can install the library most easily using its NuGet package.

1113 questions
0
votes
1 answer

Facebook with dotnetopenauth

I have created an App on facebook and I am using this app to authorize an user via dotnetopenauth. Here I would pass APPID and APPSECRET and get the token which would be used to call Facebook Graph to get facebook user details. If I'm doing this…
0
votes
1 answer

How do I use DotNetOpenAuth with the Netflix API?

This is what I have so far, but it isn't working as I don't understand how DotNetOpenAuth is supposed to work. I only need it to sign the outcome with my key, but I am not having luck. Everything seems to point towards me needing to get the client…
JonathanTech
  • 228
  • 1
  • 12
0
votes
1 answer

OpenId implementation for web services - need tips/help

Suppose I'm trying to implement OpenId for relying in my n-tier web site which uses web services. Please tell me if some steps seem strange. 1) I want the user to enter their OpenId url in a textbox. ex: http://vidalsasoon.myopenid.com 2) The user…
None
0
votes
1 answer

DotNetOpenAuth and Quickbooks

I'm need to develop a .NET 3.5 application that imports data from Quickbooks, and I decided to use DNOA to OAuthorize with them. I downloaded the latest available version (4.1.something), took a look around, then create a QuickBooksConsumer…
Denethor
  • 33
  • 5
0
votes
1 answer

DotNetOpenAuth Response object & property is set but it throws a NullException

So! My head just exploded because this seems very strange to me. Using debug mode, I can watch the Claimsresponse come through into the method, its populated, and so is the Email property. But when I try a simple string myStr = response.Email; It…
williamsandonz
  • 15,864
  • 23
  • 100
  • 186
0
votes
1 answer

DotNetOpenAuth new OpenIdRelyingParty().GetResponse() is null?

I'm using this tutorial: http://www.dotnetopenauth.net/developers/help/programmatic-openid-relying-party/ My GetResponse() call always returns null, I've also added localhost to my white list in the web.config. I feel like I've done everything right…
williamsandonz
  • 15,864
  • 23
  • 100
  • 186
0
votes
1 answer

Google OpenID - programmatically select session if user is logged into several google accounts

I'm using DotNetOpenAuth to allow users to log into my website using their Google account. Since Google allows users to be logged in to several accounts at the same time it would be helpful to be able to pass in an identifier in the authentication…
0
votes
1 answer

Raising minimum OpenID version requirement for Providers to 2.0 to protect this stateless RP from replay attacks

We use OpenAuthAuthentiocation.dll and get the following warning: Raising minimum OpenID version requirement for Providers to 2.0 to protect this stateless RP from replay attacks How can we fix it? How can I make this warning disappear?
Elad Benda
  • 35,076
  • 87
  • 265
  • 471
0
votes
3 answers

Expectation Failed when trying to update twitter status

I can't seem to figure this one out. No matter what I do, I keep getting a "417 Expectation failed" error. Everywhere I've looked says that I need to get rid of the Expect header for the HttpWebRequest. Setting the static property…
Micah
  • 111,873
  • 86
  • 233
  • 325
0
votes
1 answer

Do you perform any validation on the OpenID URI?

When you are logging in a user using OpenID, do you perform any validation on the OpenID URI (or identifier)? Or do you just let the library handle it (like DotNetOpenAuth).
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
0
votes
1 answer

How to use ECDiffieHellmanCng with OpenId in .Net 3.5?

I need to get those parameters of OpenId protocol: sd["openid.assoc_type"] = ???; sd["openid.session_type"] = ???; sd["openid.dh_modulus"] = ???; sd["openid.dh_gen"] = ???; sd["openid.dh_consumer_public"] = ???; How can I get it using…
None
0
votes
1 answer

Is it possible or even advisable to use OAuth 1.0 to secure a RESTful web API without redirecting the user to a separate provider?

I am in the process of building a RESTful web service using ASP.NET Web API, and I am considering using OAuth 1.0 as an authentication mechanism to secure the service. Our API would also be maintaining the credentials store and would therefore be…
Rich Miller
  • 810
  • 1
  • 9
  • 20
0
votes
1 answer

OpenID 2 and openidselector Store in SQL

I am implementing OpenID 2 (and/or OAuth 2) and also using the openidselector on my web application. What should I store in my SQL database so that I can match users up to my data when they login? For example, when a user logs in using Google,…
thechrisberry
  • 177
  • 1
  • 18
0
votes
1 answer

Why was the state parameter removed from WebServerClient:RequestUserAuthorization in version 4.0.1.12097

I have been using DotNetOpenAuth v3.5.0.10357 for about a year now and finally decided to upgrade to v4.0.1.12097. In doing so, I noticed the RequestUserAuthorization method no longer accepts a state…
mateuscb
  • 10,150
  • 3
  • 52
  • 76
0
votes
1 answer

Want to download DotNetOpenAuth .zip file

I wanted to learn from the samples that come with DotNetOpenAuth .zip. I am trying to download the DotNetOpenAuth-4.0.3.12163 .zip file from http://sourceforge.net/projects/dnoa/files/latest/download but after downloading, when I try to unzip, I get…
Varun S
  • 587
  • 4
  • 12
  • 25