Thiscode use apache oltu: // construct the OAuth 2.0 Authorize request OAuthClientRequest request = OAuthClientRequest .authorizationLocation("https://api.service.domainHere/oauth/authorize") .setResponseType("code") .setClientId(clientId) .setScope(scope) .setRedirectURI(redirectUri) .buildQueryMessage(); what I need help with is the equivalent of .buildQueryMessage() on .NET library DotNetOPenAuth or IdentityModel please, thank y
Can anyone please tell me how to use dotnetopenauth to provide login capabilities in mvc application for Pinterest users.
@mathiasbanda thanks for sharing. but its not a working example
@sbhola VS has a project template that will create a working example for you. Just through the wizard then you will have your working sample code
@mathiasbanda , i need working sample for OAuth2.
VS does not have template for OAuth2 for Pinterest
@sbhola Okay apologies for misleading you
Hi guys !
I have created a web API(.net C#) project and I want to consume some of the APIs from the provider. while consuming I need to sign the GET request with 0-legged OAuth 1.0 using the OAuth Key and Secret. I am new to OAuth 1.0,
0-legged OAuth 1.0 using the OAuth Key and Secret in web api
can some one tell me how to use
Hi all, I am using OAuth for web security purpose, I have implemented creation of token and authorization and all, I am now stucked in refresh token implementation
can any one please help me with that ? A kind favour :)
Can we build DotNetOpenAuth against .net core 2.0 instead of .net framework?
We cant install owin oauth 2.0 authorization server in asp.net core project? Any one please suggest.
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.
can we use this with net core applications
ABIN JAIK ANTONY
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?
I need to add the parameter "aud" to the query string on Init. Anyone have an idea how to do that?
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
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?
@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?