dotnetopenauth

Problem with accessible in DotNetOpenauth?

I working on MVC project and use DotNetOpenAuth to connect with twitter, Once i declare private static InMemoryTokenManager _tokenManager = new InMemoryTokenManager("Twitter Consumer key", "Twitter Consumer secret"); private InMemoryTokenManager TokenManager { get { return _tokenManager; } ...

DotNetOpenAuth RP fails behind SSL appliance

I'm having trouble getting a DNOA RP working behind an SSL appliance (terminates the client HTTPS connection and reverse-proxies HTTP to the webserver behind it). The problem is that the RP is incorrectly guessing the recipient endpoint from the incoming request (since it's not HTTPS by the time it hits the webserver) and comparing th...

Using OpenID (via DotNetOpenAuth) along with user roles and other Membership Provider features in ASP.NET MVC

I'm building an ASP.NET MVC site where I want to use DotNetOpenAuth to implement OpenID login (I'm completely dropping username/password-based login). So far, I've been writing my code for the default username/password system with the ASP.NET Membership Provider, utilizing the roles system, the profile system, and the basic registration...

DotNetOpenAuth - OnLoggedIn not firing on OpenIdButton

I am trying to implement OpenID for a website using only Google as the authentication provider. I am using the OpenIdButton control to send users to their Google Apps login since I always want them to go to the same place. The button sends them to the right place and returns them to the ReturnToUrl correctly but it doesn't seem that ...

Should I use the built-in membership provider for an ASP .NET MVC application?

I've been using a custom membership provider for authentication in all my web form applications till now. I'm about to start developing my first website using MVC. I'm wondering if I should I use the built-in membership provider that ships with ASP .NET MVC, or if I should create my own. My site needs to integrate with openid, faceboo...

How to include AX extension in OpenID auth request using DotNetOpenAuth

How to make attribute exchange request in dotnetopenauth. ...

getting response when using AXFetchAsSregTransform behavior in dotnetopenidauth.

I am using AXFetchAsSregTransform behavior in dotopenidauth and thereafter using claimRequest( Email = DemandLevel.Request, FullName = DemandLevel.Request) . I am using var claimsResponse = response.GetExtension(); to receive response.It's working fine with google , but in case of aol , myopenid it is returning nul...

dotnetopenauth asp.net mvc2 project template - broken when running from localhost:xxxx

So I create a new dnoa mvc2 site from the template, run setup.aspx without issue, login and authorize my openid - all ok, but on the redirect to http://localhost:18916/Auth/PopUpReturnTo?dnoa.uipopup=1&dnoa.popupUISupported=1&index=0&dnoa.userSuppliedIdentifier=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid&dnoa.op_endpoint=https%3...

DotNetOpenAuth and ReturnToUrl in web forms

Hi everyone! I'm using asp.net with url rewrite. Inside Page Load I have the following code: OpenIdLogin1.ReturnToUrl = @"~/Login" When I log in and return to calling page, I get the following error message: Login failed: The openid.return_to parameter (http://localhost:12345/Login?dnoa.receiver=ctl00_phContent_ctl00_OpenIdLogin...

dotnetopenauth and ajax forms

I'm trying implement an openId login with Google account together with ASP.NET MVC 2 framework and DotNetOpenAuth library. The following code is used to render login button: <% using (Html.BeginForm("LogOnPostAssertion", "Authentication", FormMethod.Post, new { target = "_top" })) { %> <%= Html.AntiForgeryToken() %> <%= H...

DotNetOpenAuth and Google

I have the following code: protected void Page_Load(object sender, EventArgs e) { var openId = new OpenIdRelyingParty(); HttpContext httpContext = HttpContext.Current; var headers = new WebHeaderCollection(); foreach (string header in httpContext.Request.Headers) { headers.Add(header, httpContext.Request.Hea...

Difference between AuthenticationStatus.Canceled and AuthenticationStatus.Failed

What is the difference between AuthenticationStatus.Canceled and AuthenticationStatus.Failed in dotnetopenauth? ...

DotNetOpenID - Identity Provider behind a firewall?

Hello, Looking at the OpenID protocol, it appears that the relying party needs to send a request to the identity provider. In our situation, this is not exactly ideal since the identity provider is behind a firewall-- our server will not be able to make the request. However, the user accessing our website (client-side, e.g. javascript...

Windows azure development fabric load balancer crashes on DotNetOpenAuth redirect action mvc 2

I have cornered this error down to a redirect action call by DotNetOpenAuth(http://www.dotnetopenauth.net/) Basically I have implemented the example here http://www.dotnetopenauth.net/developers/code-snippets/programmatic-openid-relying-party/ In my application while running locally I hit this line return request.RedirectingResponse...

DotNetOpenAuth + MVC2 + Google App Standard

Hi, I'm trying to authenticate users to my ASP.Net MVC2 app throw a google apps standard edition account. I could not found examples nor documentation to achieving. I looked into DotNetOpenAuth Samples Solution, but did not found an example according my needs. All the examples were working against google accounts, but no with google app...

How do I reset dotnetauth on the open id providers' sides?

Scenario: I have [email protected], so I login on a site which features google login, like stackoverflow stackoverflow bounces me over to google.com's login when I login to google.com, I use [email protected] and select the "remember me" I'm back at stackoverflow, but I think, "I want to log out and use [email protected]" instead I log back out I log ba...

in dotnetopenid getting a null ClaimsResponse

i am using dotnetopenid for implementing openid in my page i am facing a problem with myopenid as i am getting a null ClaimsResponse what i am doing in page load OpenIdRelyingParty openid = new OpenIdRelyingParty(); //fetching response. var response = openid.GetResponse(); //checking response from openid provider. if ...

DotNetOpenAuth Oauth Google Calendar

Hi, I have knowledge of the Oauth process but dont have a clue where to start coding. I have looked at the DotNetOpenAuth site, downloaded the examples and have run the Google Contacts example. I would like to do something similar but with a Google Calendar but cannot even begin to start. I have got as far as creating a new project, i...

How to set return url for DotNetOpenAuth

I'm using DotNetOpenAuth to sign in to Facebook. Here is the code: var facebookClient = new FacebookClient { ClientIdentifier = "appId", ClientSecret = "appSecret" }; IAuthorizationState authorization = facebookClient.ProcessUserAuthorization(); if (authorization == null) { // Kick off authorization request facebookClien...

dotnetopenauth - how to bounce login on Google's end

I have a website that allows users to login w/ their google account, http://urlme.cc Issue: user Bob logs in as [email protected], then logs back out, and THEN decides that he wants login as [email protected], one of his alternate gmail address, he can't do that. If he leaves the "remember me" checkbox checked on google's login page, ...