Questions tagged [dotnetopenauth]

DotNetOpenAuth is an open source library for OpenID 1.1 and 2.0 supporting OAuth 1.0, 1.1, 2.0 as Consumer and Service Provider.

DotNetOpenAuth is a free and open source library and is available from DotNetOpenAuth.net. It features support for OpenID 1.1 and 2.0 Relying Parties and Providers, OAuth 1.0 & 1.1 Consumers and Service Providers, OAuth 2.0 Clients, Resource Servers and Authorization Servers, and Information Card relying parties.

It was formerly knows as DotNetOpenId, but was renamed when it added OAuth and InfoCard support.

Please use this tag instead of the older "dotnetopenid" tag.

Installation

You can install the library most easily using its NuGet package.

1110 questions
0
votes
1 answer

HttpApplicationState.Lock() in Mono 2.10

I am using DotNetOpenAuth in conjunction with Mono 2.10. When context.Application.Unlock() is called, an exception is thrown indicating the lock was never acquired in the first place. I've modified the code as shown below. My question is, does…
Brian
  • 6,211
  • 6
  • 37
  • 74
0
votes
1 answer

DotNetOpenId "Login failed". The characters in login

In my project I use OpenIdProviderWebForms and OpenIdRelyingPartyWebForms from the library DotNetOpenAuth. Validation is done by user request to a domain server. Login my users are in the format test_dm\username and username@test.dm.ru…
absent
  • 33
  • 4
0
votes
2 answers

'400 Bad request' - Google not redirecting back correctly after Authentication using DotNetOpenAuth and PhoneGap ChildBrowser plugin

I'm working on a simple implementation of THIS DotNetOpenAuth tutorial. On a regular browser such as Chrome, Firefox and IE it works fine. But when I call this "google_login.aspx" page from the PhoneGap childBrowser plugin It fails. Failure…
capdragon
  • 13,443
  • 22
  • 96
  • 145
0
votes
2 answers

Logout From LinkedIN using asp.net

I am using openid in my asp.net application.For Linkedin ,I have used javascript api I am able login in my site but I want to know how to logout from my site which will automatically logs me out from linkedin also. Pl suggest some solution. thanks
0
votes
1 answer

Getting invalid_request when IsAuthorizationValid returns false

Whenever my IsAuthorizationValid method in my IAuthorizationServer implementation returns false, AuthorizationServer.HandleTokenRequest gives me an invalid_request response. I was expecting something like invalid_scope or authorization_expired. Any…
Ian1971
  • 3,546
  • 7
  • 30
  • 57
0
votes
2 answers

TypeLoadException from Logger.Create when running DotNetOpenAuth under mono

I'm following a simple tutorial on DotNetOpenAuth. It works fine when i run it in my localhost visual studio development machine. However, as soon as a I move it to a testing/staging server that is running mono it throws the following…
capdragon
  • 13,443
  • 22
  • 96
  • 145
0
votes
1 answer

Issues using openid-selector/ dotnet openid

I'm using openid-selector based UI to authenticate user using dotnet openid API. I'm having a small issue, when i select google and cancel and close browser and then open link and select yahoo it redirects me google but not yahoo. i checked that…
rs.
  • 24,394
  • 12
  • 61
  • 89
0
votes
1 answer

Auto Login user to website when user is logged in to FB or google - DotNetOpenAuth

I am using DotNetOpenAuth to log in users with FB and Google. When a user visits the website, is there a way to detect that he/she has already logged in to FB or Google and log them automatically? Thank you
Bill
  • 1,139
  • 8
  • 49
  • 95
0
votes
3 answers

Unit testing OpenIdRelyingParty

I apologize if this a duplicate question (I didn't find anything like that). I'm trying to build an OpenId Authentication service and unit test it, currently I have the following setup: public class OpenIdAuthenticationService :…
0
votes
0 answers

using DotNetOpenAuth with consumer + client key/secrets

I'm trying to authenticate an api call using oauth I have the consumer keys and secrets, so was hoping to just use DotNetOpenOAuth and hey presto, but after a frustrating day and a sore head, I cant figure it out.. I've got the following sample -…
steve
  • 778
  • 1
  • 7
  • 18
0
votes
1 answer

Can I configure DotNetOpenAuth request token expiration?

In our API we implemented DotNetOpenAuth (v3.4.7). We frequently receive the exception "A token in the message was not recognized by the service provider", along with this stack trace: at…
Jacco
  • 3,201
  • 1
  • 16
  • 29
0
votes
1 answer

Is it possible to use Owner P/C grant type with a public client with DotNetOpenAuth?

This behaviour differs in the master branch and in the v4.0 branch of DotNetOpenAuth as of the moment of writing. I'm using Resource Owner Password Credentials grant type with a public client. The master branch issues a token as expected. The v4.0…
Andrew Savinykh
  • 22,530
  • 13
  • 90
  • 143
0
votes
1 answer

Twitter Sign in page always showing

I have implemented Sign in with Twitter on my web site using DotNetOpenAuth lib using asp.net mvc 3. My problem is that every time the user click Sign-in with twitter it redirects him to a twitter page (even if he is already logged in to twitter). I…
YanivH
  • 99
  • 1
  • 9
0
votes
1 answer

Where do you run openid selector generate-sprite.js

ASP.NET MVC3 Razor project Trying to implement OpenID using http://weblogs.asp.net/haithamkhedre/archive/2011/03/13/openid-authentication-with-asp-net-mvc3-dotnetopenauth-and-openid-selector.aspx I've edited the openid-en.js script down to: var…
Joe
  • 3,761
  • 6
  • 33
  • 59
0
votes
1 answer

DotNetOpenAuth ResourceServer Get User ID from Principal

I have created a project that uses DotNetOpenAuth to implement both an OAuth2 AuthorizationServer and ResourceServer in one. What I am wanting to do is use the OAuth as pseudo-authentication where the Client is authorised by OAuth to get the…
Greg Bacchus
  • 1,709
  • 2
  • 19
  • 24
1 2 3
73
74