dotnetopenauth

Facebook and dotnetopenauth issue

Hi We established an OpenID provider at BioSignID.com base on DotNetOpenAuth. (the authentication is base on signaturs with silverlight client...) As we tried to login to facebook we encounter a problem with IE (6,7,8). In FF and Chrome the loggin process was fine. On the server logs I can see the FB reqeust but the user somehow is ...

How do I get the username using DotNetOpenAuth with Google

I have an ASP.NET MVC project that uses DotNetOpenAuth as authentication provider. How do I get the username (or email address) when the user logs using https://www.google.com/accounts/o8/id? switch (response.Status) case AuthenticationStatus.Authenticated: string userOpenId = response.FriendlyIdentifierForDisplay; b...

Using DotNetOpenAuth AccessToken for uploading docx file to google

Hi , I am using DotNetOpenAuth Package, I am trying to upload a package to google docs, Using client credentials i am able to do it successfully using following code, DocumentEntry objDocumentEntry = new DocumentEntry(); objDocumentsService.setUserCredentials(strUserName,strPassWord); string strAuthenticationToken = objDocumentsService...

Azure dev fabric crashes with SocketException when using DotNetOpenAuth

I'm trying to run ASP.NET MVC 2 web site under the Windows Azure Dev Fabric using the DotNetOpenAuth OpenID authentication. Azure Dev fabric itself repeatedly crashes (dfloadbalancer.exe), when I authenticate. Are there any workarounds for the issue that allow to use Azure Dev fabric and DotNetOpenAuth? MSDN seems to have some old dis...

dotnetopenauth pending request lost

I have dotnetopenauth working fine as a provider except when a user clicks the submit button multible times. Then the following error occurs: Throw New InvalidOperationException("There's no pending authentication request!") What is the best way to prevent this happening? ...

dotnetopenid attribute extensions just not working for me!

So here's some code on the request:- IAuthenticationRequest req = openid.CreateRequest(Request.Form["openid_identifier"]); //add extention requests here req.AddExtension(new ClaimsRequest { Email = DemandLevel.Request, B...

IAuthenticationRequest.RedirectToProvider is not supposed to return, yet it does

The method DotNetOpenAuth.OpenId.RelyingParty.IAuthenticationRequest.RedirectToProvider() is documented never to return: Redirects the user agent to the provider for authentication. Execution of the current page terminates after this call. However, it does return under the latest implementation (3.4.3). I'm using the followin...

DotNetOpenAuth OpenID Provider "Sequence contains more than one element"

...

DotNetOpenAuth DesktopConsumer with GData help needed

Hi folks, I am trying to get DotNetOpenAuth's DesktopConsumer to work with Google, with not much success actually... Here is what I am doing (reduced to essential code parts): myApp = new DesktopConsumer(google, tm); var extraParameters = new Dictionary<string, string> { { "scope", GetScopeUri(Applications.Calendar) }, }; Authori...

DotNetOpenAuth getting return_To url as the provider

I have a provider that I'm upgrading from version 2 to version 3. basically a user comes to one of our sites and we say "if you don't have an openID sign up with this one" They click that and are sent to our in house provider what signs them up for an account and has to verify their email address. In the link I send via Email I included...

Example of supplying SREG/AX in DotNetOpenAuth

I can't find any example of supplying SREG/AX extension on Provider (OP) side in DotNetOpenAuth. All constructors of ClaimsResponse are internal. Any help/suggestions? ...

DotNetOpenAuth OpenIdTextBox For Google/Yahoo

If I want to integrate DotNetOpenAuth (primary for people to use their Google/Yahoo accounts to login, not act as provider) into my existing site, is this one line control good enough? <rp:OpenIdTextBox ID="OpenIdTextBox1" runat="server" /> Say, if a user wants to login as Google, I can simply set the textbox to "https://www.google....

DotNetOpenAuth MVC samples - project type not supported

I have an issue with the DotNetOpenAuth sample projects. I have Visual Studio 2008, with MVC1 installed, yet when i try open the samples.sln the 2 MVC projects fail to load, giving the error: "Project type not supported" Is there additional requirements other than VS an MVC? ...

DotNetOpenAuth - What do "Nonce" and "OpenIDAssociation" tables do?

This is a specific question to DotNetOpenAuth. I opened up the .NET template, and found that there are 2 tables "Nonce" and "OpenIDAssociation" and there are 2 SPs that do the cleanup upon on expiration date. What exactly do these 2 tables do? Why do we need to keep track of the association? ...

How long ClaimedIdentifier can be?

Hello, I want to save ClaimedIdentifier in database. How long it can be? Probably, 255 characters is ok? ...

Asp.net mvc 2 and twitter authenticaton

I am using OAuth (linq2twitter and DotNetOpenAuth) to allow a user to post comments via their twitter account. So when you do the authorization twitter does a callback, so the way linq2twitter does it is to set the callback to the page that did the req. So if the req came from blah.com\twit it will redirect to blah.com\twit. This lead...

dotnetopenauth: where are the web samples

I downloaded dotnetopenauth last week and I have seen people mention the samples, but all I see is a desktop sample. Where would I find a web/asp.net sample? Sad, I don't know if I should post another question, but I really meant the linq2twitter web samples. ...

DotNetOpenAuth oAuth in ASP.NET MVC

I'm trying to understand how to apply the oAuth consumer library from DotNetOpenAuth in the context of ASP.NET MVC. oAuth is new to me, and the library doesn't seem very simple. Does anyone have a sample of leveraging this library, for this usage, in ASP.NET MVC? ...

DotNetOpenAuth - Using OpenIdButton for Google Apps

I am an ASP.NET newbie and I am trying to design an OpenID/SSO system for an internal web application. The web application is pretty simple and the authentication is currently being managed by a database with usernames and passwords. I want to replace the existing accounts stored in the database with Google Apps accounts. I have downl...

DotNetOpenAuth Remember Me

I am using OpenIdLogin (with OpenIdButton) control on my login page, I noticed that there are properties "RememberMe", "RememberMeText" and "RememberMeVisible". However I can't get it to work, is there any example? Say, after the user logged on to my site successufully via Google, the user then decided to close the browser. If the user...