dotnetopenauth

The remote server returned an error: (400) Bad Request Microsoft.AspNet.Membership.OpenAuth

妖精的绣舞 提交于 2020-01-24 15:13:47
问题 I'm using Microsoft.AspNet.Membership.OpenAuth when I create a new asp.net webform .net 4.0 and I config AuthConfig.cs: OpenAuth.AuthenticationClients.AddFacebook( appId: "my appId", appSecret: "my appSecret"); In Facebook app config: Website with Facebook Login: http://www.tindep.com But when I login with facebook it's error: Server Error in '/' Application. The remote server returned an error: (400) Bad Request. Description: An unhandled exception occurred during the execution of the

Logging in to an OpenID site from a .net app

青春壹個敷衍的年華 提交于 2020-01-24 10:21:31
问题 I have been thinking of maybe writing a little tool that logs into SO and updates my profile info with some topical/current info on a regular basis (eg. my latest blog post or questions I need help on, etc...) To get this to work I will need to somehow log on to SO from a console app. Is there a .Net library that streamlines logging on to an openid website using raw http requests? 回答1: Nope. Or at least, you can't do it in the general case. Because the part where you present your credentials

DotNetOpenAuth: How to implement a simple OpenId provider?

会有一股神秘感。 提交于 2020-01-22 06:00:25
问题 Every OpenId provider has a provider Url (e.g Google: https://www.google.com/accounts/o8/id) Using OpenIdRelyingParty.CreateRequest I successfully managed to redirect the user to Google provider Url and receive the provider callback. Everything worked fine. Now I'm trying to implement my own simple OpenId provider (I want to act as Google on my example). DotNetOpenAuth has a provider demo called OpenIdProviderWebForms. For the last 4 or 5 hours I've been tryng to connect to it using the same

Steam Login Authentication C#

假装没事ソ 提交于 2020-01-13 04:43:43
问题 Im trying to make steam login work for my website with DotNetOpenAuth. But looking through the examples in the documentation doesn't give me any idea how to make it work. Here´s what I done so far: 1) Added the dotnetopenauth reference files to \bin and to the configuration 2) Added a unique user field in the database for the response i get back from DotNetOpenAuth. So heres my question How can i retrive the steam id with DotNetOpenAuth? I found some examples done in php: http://forums

Steam Login Authentication C#

心不动则不痛 提交于 2020-01-13 04:43:28
问题 Im trying to make steam login work for my website with DotNetOpenAuth. But looking through the examples in the documentation doesn't give me any idea how to make it work. Here´s what I done so far: 1) Added the dotnetopenauth reference files to \bin and to the configuration 2) Added a unique user field in the database for the response i get back from DotNetOpenAuth. So heres my question How can i retrive the steam id with DotNetOpenAuth? I found some examples done in php: http://forums

“No OpenID endpoint found” on Azure Website

回眸只為那壹抹淺笑 提交于 2020-01-09 11:11:23
问题 I have a strange issue with a MVC 3 app running as an Azure Website. I have had issues with Azure in the past, but the new Website concept works almost perfectly, except for this: DotNetOpenAuth.Messaging.ProtocolException: No OpenID endpoint found. This only happens with Google, only on Azure. Running locally it works fine, running on AppHarbor it works fine, but on Azure every attempt to use Google for OpenID login will result in a server error due to that exception (tracked using Airbrake)

DotNetOpenAuth: Getting the sample OAuth 2.0 AuthorizationServer Working

瘦欲@ 提交于 2020-01-06 02:39:27
问题 I am in the process of identifying a framework for building a local OAuth (2.0) Provider with a good client library (there aren’t many), at a glance DotNetOpenAuth seems to be ideal and I got excited and wanted to try out the samples. I spent few days fiddling with the sample and the source itself still I couldn’t figure out a way to get the OAuth2\AuthorizationServer sample working. Sample works fine for all other external providers. I went through numerous posts to figure out ideal setup,

how to start using openID in an asp.net mvc3 project?

六月ゝ 毕业季﹏ 提交于 2020-01-03 12:14:29
问题 I want to have authentication mechanism for my site (in asp.net mvc3), first option openID another option via my site. I don't know how to start with dotnetopenid, because it does not have a good document or some guidance to start with it. Is there any visual document or any useful step by step resource for it. The other question: I want to have google and yahoo openID authentication, is there any difference for using both of them?! tanks a lot for your suggestions 回答1: You could do worse

Request email address from OpenID provider

只愿长相守 提交于 2020-01-03 10:47:10
问题 I'm implementing OpenID and I would like to retrieve the user's email address and other information about the user, I'm doing this: var fetch = new FetchRequest(); fetch.AddAttribute(new AttributeRequest(WellKnownAttributes.Contact.Email)); request.AddExtension(fetch); But the provider doesn't return anything. I'm using DotNetOpenID What am I doing wrong? thanks! EDIT: When I try to signup at http://www.plaxo.com/ using MyOpenID or Google, they both say plaxo is requesting additional

Request email address from OpenID provider

放肆的年华 提交于 2020-01-03 10:47:07
问题 I'm implementing OpenID and I would like to retrieve the user's email address and other information about the user, I'm doing this: var fetch = new FetchRequest(); fetch.AddAttribute(new AttributeRequest(WellKnownAttributes.Contact.Email)); request.AddExtension(fetch); But the provider doesn't return anything. I'm using DotNetOpenID What am I doing wrong? thanks! EDIT: When I try to signup at http://www.plaxo.com/ using MyOpenID or Google, they both say plaxo is requesting additional