Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
We cant install owin oauth 2.0 authorization server in asp.net core project? Any one please suggest.
Cmon Stoke
Hi Guys, I'm quite new to open auth/id and I'm struggling to get the samples running.
Ultimately I want to use Azure AD as the only ID Provider for my relying party apps.
I have tried to run the WebRing Provider and the WebRing RP samples but I get an exception of DotNetOpenAuth.Messaging.ProtocolException: 'No OpenID endpoint found.'
but localhost is in the sample web.config whitelist and the provider is running in the browser at http://localhost:39167/
Hi all apologies have been off work for a while so hadn't looked in here. In the end I abandoned trying to adapt DotNetOpenAuth for what I wanted to achieve instead I have just used c#'s HttpWebRequest class to achieve the same result ie 2 stage authentication followed calls to the web server. If that's of any interest I will post the sample here let me know
Hi, for some reasons, when I'm using OpenIdRelyingParty it fails to verify the realm. Problem is, I have two realms, each on separate domain, on same server. If I try to log on first domain, everything is working, but during that if I try to log in on another domain, even in inkognito window or close browser and start a new one, it fails, because it tries to verify return_to value from seccond login attempt against the realm in first login attempt. Cannot find the reason why. And how it can know about the other realm. Because the realms are in web.config and chosen by country settings and by language displayed I can say the settings are OK. It's almost like there is some shared cache or something that keeps all connections and than there is some ID which I don't know about that perhaps tell the lib that for this computer there is an opened request for login.
Niraj Lama
can we use this with net core applications
I am trying to develop openID Provider using DotNetopenAuth on MVC5 with Razor View, Does DotNetOpenAuth.OpenId.Provider.UI support for MVC Razor?
I try to use DotNetOpenAuth in .Net Core 2.0 but can´t get it to work. Dos DotNetOpenAuth (Oath2) support .Net Core 2? Any samples I can look at?
Peter Mello
I need to add the parameter "aud" to the query string on Init. Anyone have an idea how to do that?
how can a beginer learn to implement OAuth server
Venkatesan R
Do we have a sample for OpenID 2.0
Horst W. Schneider
A security company checked our website and found a broken authentication and session management leak concering the DotNetOpenAuth.WebServerClient.XSRF-Session cookie. This cookie is not httpOnly and secure. Why? How I am able to set this cookie secure?
hi ... how to create authorization header for GET request?
I am getting Invalid signature error while requesting for a Url
Nathan Harvey
so it looks like https://github.com/DotNetOpenAuth/DotNetOpenAuth/blob/master/src/DotNetOpenAuth.OAuth.Consumer/OAuth/Consumer.cs is not actually the source I get when I install the NuGet package. For one thing, I can't instantiate the Consumer class and have to use its children. Where's the actual current code?
Dimitar Topalov
Hi everyone, I have a case when the user is sending the email and password from other channel (different from the standard login) and I need to create a session for them server-side and return the tokens as normal to the user. Could you please point me to the implementation that I have to use to do so?
Nathan Harvey
@o15a3d4l11s2 why are you allowing side-channels?
oh.... I just realized how dead this channel is. I take it this isn't being developed anymore?
Dimitar Topalov
@Narvey , I need to move from a different authentication to oAuth and together with that I need more information provided by the user. They never had a password, so I want to ask them to enter one and then autolog them automatically.
Hi Everyone! Has anyone worked on SSRS 2016 to implement SAML based authentication for the purpose of SSO? Any help, ulr, code sample will be really appreciated!
@Narvey Hi, DNOA is DOA. No-one should be using DNOA anymore really. it hasn't been in active development for years now.
Tony Fish
Hello I'm using the webclient in an example i have to do a code grant but i would like to add id_token to the response type, does anyone know how, thanks T
Hello, I'm trying to learn how to do OAuth2 for quickbooks in ASP.NET using VB.
Does anyone know a good tutorial hopefully in VB

Message signature was incorrect

在 DotNetOpenAuth.Messaging.Channel.ProcessIncomingMessage(IProtocolMessage message)
在 DotNetOpenAuth.OpenId.ChannelElements.OpenIdChannel.ProcessIncomingMessage(IProtocolMessage message)
在 DotNetOpenAuth.Messaging.Channel.ReadFromRequest(HttpRequestBase httpRequest)
在 DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.GetResponse(HttpRequestBase httpRequestInfo)}

Someone encountered this error code how to solve thank you. error:"Message signature was incorrect"
Hey all, has anyone used this product with the new Freshbooks API? I had a nice web app that I wrote that used the old version and now I am stumped as to how the Oauth flow can work with it.
Kaique Prazeres
Hello all..
Where do I get a detailed tutorial teaching how to implement DotNetOpenAuth, or a proof of concept that is working? Can anyone help me with this? I'll be very grateful.
David Christiansen
Kaique Prazeres
Thank you, okay, but, is there any tutorial explaining how to integrate it with another application?
Kaique Prazeres
"DotNetOpenAuth.Messaging.ProtocolException: 'This message can only be sent over HTTPS.'"
Why does this occur?
after running OAuthConsumerWpf this exception is thrown. But, I have no idea how to test this. I did not find a readme explaining something about.
hai friends will you please tell me how to configure ouath2 client with clientid,clientsecretid and redirect url in c# using dotnetopenauth
Hi. I am looking for help to implement OAuth 1.0 and 2.0 client. I tried using the WPF sample with bitbucket OAuth 2.0, but facing Invalid redirect_Uri. Want to know if Sample project is still up-to-date for guidance. Also, need guidance for moving forward to implement using DotNetOpenAuth binaries.
Hi, We are getting exception message "No openId endpoint found" while creating request to QuickBook using DotNetOpenAuth SDK. Calling IAuthenticationRequest req = openid.CreateRequest(openIdIdentifier); where openIdIdentifier is https://openid.intuit.com/openid/xrds
Cristian Giagante
hi guys
i need a little bit of help
somebody online?
@TonyVFish_twitter I'm trying to do the same thing. Were you able to find a solution by any chance?
Cristian Toma
Hi guys, I have a problem. I am using the DotNetOpenAuth.OAuth.Core library for the Oauth2 flow. Do you know how can I set the lifetime of the refresh token?

Hi everybody.. I randomly get this error:

DotNetOpenAuth.Messaging.ProtocolException: Error occurred while sending a direct message or getting the response. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

It doesn't happy all the time (maybe twice a day). I've confirmed with the OAUTH server provider they are not dropping the connection. Is there anything I can do from this end to try and get this more stable?

I have some questions regarding OAuth
Is anyone online to speak with ?