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;
}
...
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...
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...
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 ...
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 make attribute exchange request in dotnetopenauth.
...
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...
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...
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...
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...
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...
What is the difference between AuthenticationStatus.Canceled and AuthenticationStatus.Failed in dotnetopenauth?
...
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...
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...
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...
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...
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 ...
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...
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...
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, ...