dotnetopenauth

Dotnetopenauth oAuth Service provider explanation

I am a total newbie in the oAuth area and have set up DotNetOpenAuth to set up an oAuth Service provider. The sample provided in the DotNetOpenAuth download is quite confusing for me...maybe cos i am new to this stuff. There is one default page that creates a database and populates the database. Now I browse to the login.aspx and it asks...

DotNetOpenId openIdRelyingParty Setup

Hi all, I'm new to .Net and am trying to setup dotNetOpenID. I'm simply trying to get the following line to build ok without getting any errors: var openIdRelyingParty = new OpenIdRelyingParty(); Currently when I build, I get the following error: The tpe or namspace name'OpenIdrelyingParty' could not be found (are you missing a usin...

newbie: how to change dotNetOpenAuth GoogleAddressBook sample to retreive more than 25 contacts?

How do you suggest I proceed in changing the GoogleAddressBook sample to retrieve > 25 contacts? Google suggests using AutoPaging=true on http://code.google.com/apis/contacts/docs/2.0/developers_guide_dotnet.html#retrieving_without_query If this is still valid, how can I go about passing this parameter in the DotNetOpenAuth sample prov...

RedirectingResponse.AsActionResult() no longer exist, what can I replace that with for DotNetOpenAuth?

Hi there, I was trying to replicate what Rick is doing here for OpenID implementation: http://www.west-wind.com/weblog/posts/899303.aspx However, when I get to this part: return req.RedirectingResponse.AsActionResult(); Then I cannot continue, as AsActionResult is no longer exists, is there any replacement of this? Thanks alot ...

DotNetOpenAuth OpenIdLogin CSS Style

I am using DotNetOpenAuth OpenIdLogin control, how do I customize the style of the text? there is a "CSSClass" attribute, is there a sample css stylesheet that I can use? ...

DotNetOpenAuth for previously authorized site

I've had great luck with DotNetOpenAuth to do 3 legged authorization. Currently, I am connecting and pulling in some Google data. My question is that apparently, if you have already auth'd my web application to your Google account, when I call var accessTokenResponse = google.ProcessUserAuthorization(); It basically does nothing. ...

DotNetOpenAuth OpenID on ISA 2006 Reverse Proxy problem

I am trying to host my site that uses DotNetOpenAuth (OpenID) behind ISA 2006 (reverse proxy), and after it authenticated with a provider (such as Google), and it returns with a URL with %253A in the URL. However, ISA HTTP filter rejects the request. What I need to do is, on ISA web publishing rule, right click > config HTTP policy pro...

ClaimedIdentifier Problem with myOpenID: http or https?

When the user clicks the OpenIdButton to log on to myOpenID, they navigate to the myOpenID sign in page and are prompted for a Username and password. The returned ClaimedIdentifier starts with https (note the 's') When the user enters their username in the OpenIdLogin control the returned ClaimedIdentifier starts with http (no 's'). W...

Why operationContext.IncomingMessageHeaders.Action is null in DotNetOpenAuth

I try to create a wcf service that supports OAuth. I started with this example http://www.theleagueofpaul.com/blog/2010/05/11/ooo-aka-openid-odata-and-oauth-together/ but some modification but now I have problems with operationContext.IncomingMessageHeaders.Action because is null. if (scopes.Contains(operationContext.IncomingMessageHea...

dotnetopenauth, MVC2 And No OpenID endpoint found.

After I upgraded to MVC2 and the newest dotnetopenauth I keep getting "No OpenID endpoint found." when I try to login using google apps. I works fine on localhost but not on my domain - any ideas? namespace TheDataEngineMVCb1.Areas.Admin.Controllers { using System; using System.Collections.Generic; using System.Diagnostics.C...

DotNetOpenAuth TwitterConsumer "Failure looking up secret for consumer or token."

Hi, Using DotNetOpenAuth 3.4.3.10103 when i call: public static XDocument GetUpdates(ConsumerBase twitter, string accessToken) { IncomingWebResponse response = twitter.PrepareAuthorizedRequestAndSend(GetFriendTimelineStatusEndpoint, accessToken); return XDocument.Load(XmlReader.Create(response.GetResponseReader())); } I keep getting "...

DotNetOpenAuth: Why I am not getting always the same OpenID given an e-mail?

Im trying to log in using OpenID/Relying Party (Google, Yahoo!..). My login page is as follows. What I want to do is simple: Get the OpenID from an user, store it, and associate it with an user account. Every time that unique OpenID is returned from the provider, I would know that the user associated is now logged in. Simple. The ...

How to authorize an OpenID user on MVC Controller

I'm looking at the [Authorize(Roles = "DefaultUser")] available in MVC, but I can't seem to figure out if I can use it with DotNetOpenAuth. I'm using OpenID as my sole membership provider, but I have a few generic items in a UserProfile table. I don't want anyone except the appropriate user to be able to access the edit controller. EX...

Has anyone successfully implemented OpenID with Mono?

I am working on a web project where I'd like to use OpenID with Mono on Linux. DotNetOpenAuth has wiki on for configuring OpenID with XSP, but it also listed known issues that have yet to be resolved such as throw an error when using a https certificate. What has been your experience? ...

Require Google to return email address as part of OAuth

I am using OAuth to access Gmail with dotNetOAuth. How can I force Google to return user's email address as part of callback after authorization? By default, Google OAuth callback only returns the token secret and access tokens. ...

OpenAuth .Net Claims Request is always null

I've been using DoNetOpenAuth library and followed the example here The authentication is working, but even though I require an email, the claimsresponse is null. In fact, it doesn't matter what I require, claimsresponse is always null. Not sure what I'm doing wrong and I'd appreciate your help. Thanks in advance. Here is my login but...

DotNetOpenAuth "Sign Out" Button

Is there a way to render a "Sign Out" button using DotNetOpenAuth. Basically I need some sort of Log In status control, that would display the OpenId login form, just like OpenIdLogin Control does, if the user is not logged in and it would show a Sign Out link along with some sort of message like "Welcome back user" once the user logs ...

DotNetOpenAuth with Ajax on Visual Studio 2010 .NET 4 problem

I have been using DotNetOpenAuth's "OpenIdTextBox" control on our login page. We used VS 2008 + .NET 3.5 + Ajax UpdatePanel without any issues. Today we tried to upgrade the whole project to VS 2010 + .NET 4.0, the Ajax UpdatePanel gives me a javascript error when it redirects to the provider (such as Google) to sign in. "Sys.WebForms...

Configuration Error - Insufficient Permissions

I just downloaded the template for DotNetOpenAuth 3.4 and created a new project from the template. Open starting the web server in Visual Studio and launching the setup page I am greeted with the following error after providing my OpenId: Configuration Error Description: An error occurred during the processing of a configurati...

IE8 gets stuck while sending openid authentication request with activated attribute exchange

I´m getting a problem sending the authentication request with activated attribute exchange. It works with FF and Opera but IE seems to have a problem with it. The error occurs within the request.RedirectToProvider(). The Url within the address bar shows the endpoints url. Here is a code snippet where the authentication request is crea...