dotnetopenauth

Maximum time allowed to complete authentication has been exceeded

I am using DotNetOpenAuth to authenticate an app on Windows Azure. From time to time, the system is slow, and I end up with the following error message Login failed: The maximum time allowed to complete authentication has been exceeded. Please try again. Any suggestion how to increase this timeout? ...

How can I get AttributeExchange and/or SimpleRegistration working with MVC?

I'm banging my head against a wall trying to get either AttributeExchange or SimpleRegistration working with the 3.2.0.9257 version of DotNetOpenAuth. Here is what I've done: Downloaded the 3.2.0.9257 tag from GitHub Opened the DotNetOpenAuth visual studio solution Made changes to the OpenIdRelyingPartyMvc sample The changes are all...

Why can't I log in with "claimid.com" as an OpenID?

Hi, I need to implement a relying party for Open ID in a load balanced environment. Following the suggestions found here I have tried passing null to the OpenIdRelyingParty constructor. The results are somehow not consistent. If I use www.myopenid.com as a provider it works. If I use www.claimid.com as a provider I get the following...

Why is my ClaimsRequest coming back null?

I have just begun experimenting with the DotNetOpenAuth project. Modifying the sample OpenIdRelyingPartyMvc project, I was able to get a ClaimRequest for Email to work with Google. However, when I tried to add OpenID to my own project, the ClaimResponse always comes back null. I'm wondering if there is a project or environment setting ...

DotNetOpenAuth get email and redirect problem

hi i am trying to setup DotNetOpenAuth using the OpenIdAjaxTextBox but i have two problems i want to be able to get the users email address and i think that is done in the loggedin event (right?) but that event is never called, i have tried to setup a breakpoint there but i never get to it. when I type in the openid provider in the Ope...

Is there any way to use OpenID on a Windows Mobile WinForm app?

Hello! I'm trying to use OpenID on my Windows Form application. Is there any way to use it? A web service or something simillar? The application runs on a Windows Mobile 5.0 and above, with C# and Compact Framework 2.0 SP2. Thank you! ...

DotNetOpenId - Open Id get some data

I'm using OpenId on a new website and am trying to get some basic information about the user, see the code below. Why is the following allways null? var myData = response.GetExtension<ClaimsResponse>(); And the main code [System.Web.Mvc.AcceptVerbs(HttpVerbs.Get)] public ActionResult LogOn() { var openid = new OpenIdR...

DotNetOpenAuth get email

I am running dotnetopenauth 3.3.0.9283 (nightly build), it works great and it solved my previous problem ( http://stackoverflow.com/questions/1539671/dotnetopenauth-get-email-and-redirect-problem ) So now I am able to get the users email from gmail only! I have tried yahoo and myspace but i always get "Object reference not set to an in...

Two legged OAuth using DotNetOpenAuth

I have read up on two legged OAuth and understand the principals behind it - my question is specific to the DotNetOpenAuth library. Is there sample code or supporting documentation on how to use DotNetOpenAuth via two legged authentication? Three legged appears to be supported quite well and since two legged is simply a reduction in th...

DotNetOpenAuth autopostback

I am using DotNetOpenAuth-3.3.0.9302 nightly build, I have run into a problem where it seems that if openidajaxtextbox is placed in a update panel it blocks autopostback events from firing. so i did a simple sample to illustrate the problem. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %> <%...

I am trying to use openid for my website. Can someone please point me to a asp.net mvc working sample that uses openid

Due to lack to time i cannot dig google and get information about openid and then implement it. Can someone please point me to a working asp.net sample that explains how openid works with asp.net mvc. Thanks. ...

dotnetopenauth token ? is it required?

Hi, I've implementend openId login system on my site and it works ok, but when i compare what is send to openidprovider and back is different with that what is send by stackoverflow.com for example whis send s paramenter and token parameter? Are these parameteres custom parameters send by stackoverflow or dotnetopenid can sand them but y...

DotNetOpenAuth submit multipart/form-data

Is anyone aware of any samples available for uploading a file using oAuth with DotNetOpenAuth and submitting via a multipart/form-data? ...

OpenID provider on localhost with DotNetOpenAuth.

I have the DotNetOpenAuth sample provider running locally and it appears to correctly handle requests via the web browser. I can step through the handler for authorisation in the debugger. I have a project which can authenticate with Google and other providers but fails with the sample provider. The sample provider never sees a request ...

nullpointer for yahoo openid request, but not google (dotnetopenid)

i'm programmatically doing an openid handshake with yahoo and google. google is fine, but yahoo throws a null pointer: stack trace: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetOpenAuth.OpenId.Extensions.ProviderAuthenticationPolicy.PolicyResponse.DotNetOpenAuth.Messaging.IMessageW...

avoiding yahoo's 'this site can't be verified' message with dotnetopenid

i'm using dotnetopenauth to implement openid functionality, and things work fine, but yahoo throws up the standard 'yahoo cannot verify this site' message, which throws off some users. there's some info on fixing this, but i would think that i should use DNOA to do it, rather than wing it. i found some info on why this may be happening,...

DotNetOpenAuth - Database.DataContext.AddToUser(user) does not work

I am incorporating DotNetOpenAuth to my asp.net website. I am new with Entity framework. Database.DataContext.AddToUser(user) located in LogingFrame.aspx.cs does not add a user into the database. User and AuthenticationToken records are filled correctly. The same code from template project, which points to the same database, works fine....

ActionResult redirect renders using ToString()

Using the following sample: http://www.west-wind.com/Weblog/posts/899303.aspx The following line... return req.RedirectingResponse.AsActionResult(); renders the string "DotNetOpenAuth.Messaging.OutgoingWebResponseActionResult". This is the class being returned as ActionResult in the line as posted. Does anyone know why I get the clas...

PolicyException when using DotNetOpenAuth library

Hi All, When I drop the DotNetOpenAuth dll into my /bin directory, my app won't run with the following stack trace. Has anyone had any experience with this library? I've gone through their docs and suspect I'm not deploying it correctly. My web app should be running with full trust on my local machine, so it's unclear what permission...

Understanding Redirections in ASP.Net MVC

How do redirections work in ASP.Net MVC? I've copied and modified the code bit from Scott Henselman's blog that uses DotNetOpenId to login via OpenID. Debugging, I find that when executing this code segment: // Stage 2: user submitting Identifier var openId = Request.Form["openId"]; new OpenIdRelyingParty().CreateRequest(openId).Redire...