Все вопросы: [dotnetopenauth]

66 вопросов

похожие теги:
1
голосов
1ответов
731 просмотров

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 ActionResul...

1
голосов
1ответов
442 просмотров

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

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!

1
голосов
1ответов
1203 просмотров

DotNetOpenAuth get email and redirect problem

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...

4
голосов
1ответов
1416 просмотров

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 ...

1
голосов
2ответов
893 просмотров

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

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...

2
голосов
1ответов
596 просмотров

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 OpenIdRe...

0
голосов
2ответов
892 просмотров

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...

6
голосов
1ответов
422 просмотров

Why isn't information about the openID user coming through the protocol?

I am using DotNetOpenAuth to integrate openID in our web application. The code below requests the information to the provider. try { var req = openid.CreateRequest(Request.Form["openid_identifier"]); req.AddExtension(new DotNetOpenAuth.OpenId.Extensions.SimpleRegistration.ClaimsRequest {...

4
голосов
3ответов
1474 просмотров

Retrieve OpenId User Information (Claims) across providers

I'm using DotNetOpenAuth to log in as part of my login process. It works great for handling authentication but the process of retrieving user information from various openId providers is not working very well. Using MyOpenId I do get full information that I request using a ClaimsRequest with Dot...

8
голосов
3ответов
1226 просмотров

How to configure dotNetOpenId in an session less load balancing environment

You've probably solved this before. I need to be able to use open id in an environment that does not have session stickiness. The servers do preserve the headers. I'm using ASP.NET MVC and dotNetOpenId version 3.2.0.9177. Although the authentication on the 3rd party web site goes without a hitc...

17
голосов
3ответов
4290 просмотров

Friendly name from Google using OpenID?

When I play ping-pong with the Google OpenID provider, I can't get a friendly name/nickname/username (whatever you want to call it). I get something atrocious looking like the following: www.google.com/accounts/o8/id?id=AItOawmtAnQvSXGhRTkAHZWyxi4L4EKa7xoTT1dk instead of something nice like...

3
голосов
2ответов
684 просмотров

DotNetOpenID in an iFrame

I was wondering if it is possible to do a RedirectToProvider and have the resulting OpenID provider page displayed in an iFrame. This would make the authentication flow seem a lot more streamlined. I am using the DotNetOpenID library in ASP.NET MVC (VB). This next part is sort of a seperate que...

1
голосов
2ответов
469 просмотров

OpenID login problem in shared hosting server

I uploaded my Kigg opensource asp.net mvc based website to a shared hosting server (I am using Asphostcentral). But I encounter a very strange problem when i was trying to login with my OpenID. There is a warning message like this: "Could not load file or assembly PresentationFramework, Version=...

6
голосов
3ответов
2038 просмотров

claimsResponse Return Null

hello i have a following code in asp.net. i have used DotNetOpenAuth.dll for openID. the code is under protected void openidValidator_ServerValidate(object source, ServerValidateEventArgs args) { // This catches common typos that result in an invalid OpenID Identifier. args.IsValid = Ide...

4
голосов
1ответов
1614 просмотров

DotNetOpenAuth - OpenId login redirect hangs when relying party is trusted site

I am using the DotNetOpenAuth MVC relying party sample code (with some cosmetic changes) to integrate OpenId into an ASP.NET MVC application. The code works great except for the following situation: when the relying party (my app) is a trusted site under IE, and I'm hitting that site from any lo...

1
голосов
2ответов
315 просмотров

How to make dotnetopenid work with AOL

The library does not work with AOL (Google and Yahoo are OK). AOL uses openid version 1.0 and I think it is due to this. I have tried extremeswank - works with AOL - no problems, and sreg works with AOL too. I am using the latiest version 3.2.0.9177 of dotnetopenid. You may check code and confi...

3
голосов
1ответов
596 просмотров

claimsResponse Always Return Null

hello i have a following code in asp.net. i have used DotNetOpenAuth.dll for openID. the code is under protected void openidValidator_ServerValidate(object source, ServerValidateEventArgs args) { // This catches common typos that result in an invalid OpenID Identifier. args.I...

0
голосов
1ответов
1002 просмотров

sreg Yahoo problems

May you please look at the issue: You may test Yahoo sreg at "https://test-id.org/OP/Sreg.aspx" ID : "https://me.yahoo.com/" username: [email protected] password: paranoid Now the problem This code work with Google but not with Yahoo sreg, becase response.GetUntrustedExtension() alwase return...

2
голосов
3ответов
725 просмотров

OpenID on a mobile/cell phone

I am trying to set up OpenID authentication on a mobile version of a site of mine (ASP.net MVC, dotnetopenid). When i tested it out earlier (Using WAP internet, Sony Ericsson w200i) it redirected to the provider OK but was very slow to start with, then failed completely due to what i suspect was ...

35
голосов
2ответов
8128 просмотров

OpenID: Trying to Get Email Address from Google OP

I’m using dotnetopenauth 3.2 to implement Openid and can’t figure out how to get Google to pass the email address in the Claims Response. I know that Google doesn’t support simple registration, but I can’t determine what they do support. Caveat to this question is that I just started learning...

0
голосов
1ответов
343 просмотров

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 then clicks submit where the entered Url is sen...

2
голосов
2ответов
934 просмотров

How to integrate open ID Login

I want to integrate Open ID, Google and Yahoo login in my site, So please anyone can tell me the process of integration in ASP.NET.

0
голосов
3ответов
2013 просмотров

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 ServicePointManager.Expect100Continue = false or the instance prop...

0
голосов
1ответов
222 просмотров

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).

1
голосов
2ответов
240 просмотров

DotNetOpenId — Getting replay attack failure with programmatic and web logins

I'm adding optional OpenID authentication to the system. Everything works smoothly with DotNETOpenID. Yet, I get an issue when: User logs into the web application using a standard login (FormsAutentication) User associates some OpenID with the account (we use programmatic OpenID logon here to g...

0
голосов
1ответов
737 просмотров

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 ECDiffieHellmanCng ? Is it real?

91
голосов
6ответов
20385 просмотров

Где я могу найти список URL-адресов поставщиков OpenID?

Я реализовал OpenID на своем веб-сайте, но мне трудно найти список URL-адресов поставщиков OpenID. Я думал, что это будет легко найти, но я поискал в Интернете и нашел лишь несколько, в основном случайно. Есть ли ресурс, в котором перечислены доступные провайдеры и их URL-адреса аутентификаци...

0
голосов
4ответов
560 просмотров

Как передать пароль, указанный пользователем для openid, не заходя на сайт openid в .Net?

Я использую приведенный ниже код. OpenIdRelyingParty createRelyingParty() { OpenIdRelyingParty openid = new OpenIdRelyingParty(); int minsha, maxsha, minversion; if (int.TryParse(Request.QueryString["minsha"], out minsha)) { openid.Settings.MinimumHashBitLength = minsh...

7
голосов
1ответов
2091 просмотров

Невозможно получить атрибуты из ответа DotNetOpenId

Я пытаюсь понять, как получить информацию о пользователях после проверки с помощью открытого идентификатора. Не имеет значения, добавляю ли я ClaimsRequest или FetchRequest при каждом вызове response.GetExtension<ClaimsResponse> //Or response.GetExtension<FetchResponse> //Or r...

0
голосов
1ответов
534 просмотров

Проблемы с использованием openid-selector / dotnet openid

Я использую пользовательский интерфейс на основе openid-selector для аутентификации пользователя с помощью dotnet openid API. У меня небольшая проблема: когда я выбираю Google, отменяю и закрываю браузер, а затем открываю ссылку и выбираю Yahoo, она перенаправляет меня на Google, но не на Yahoo....