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
23
votes
3 answers

How to get error message returned by DotNetOpenAuth.OAuth2 on client side?

I'm using ExchangeUserCredentialForToken function to get the token from the Authorization server. It's working fine when my user exists in my databas, but when the credentials are incorect I would like to send back a message to the client. I'm using…
Lóri Nóda
  • 655
  • 1
  • 8
  • 18
20
votes
2 answers

Not running in a hosted service or the Development Fabric (Production, not debug/local)

Im just getting started with Windows Azure and have got a small MVC application running locally using the Azure emulator. I signed up for a free trial, downloaded my publishing profile and imported it into VS2012. Published to Azure and got some…
LDJ
  • 6,006
  • 8
  • 49
  • 78
20
votes
5 answers

How is OpenID implemented?

How would you design and implement OpenID components? (Was "How does OpenId work") I realize this question is somewhat of a duplicate, and yes, I have read the spec and the wikipedia article. After reading the materials mentioned above, I still…
Eric Z Beard
  • 35,488
  • 25
  • 97
  • 144
17
votes
2 answers

dotnetopenauth with asp.net mvc proving too frustrating to use

I've been trying excessively hard to implement a good open id solution into asp.net mvc - and everywhere I turn is absolute dead ends. DotNetOpenAuth is just too big and I have been thusfar unable to get even the most simplistic, basic, absolute cut…
Ciel
  • 16,274
  • 19
  • 101
  • 196
17
votes
1 answer

Storing DotNetOpenAuth information and user info retrieval

This question is a bit of a structural/design question as I'm having trouble working out the best way to perform the task. In my MVC app, I am using DotNetOpenAuth (3.4) as my login information provider and just using the standard…
Alastair Pitts
  • 18,689
  • 9
  • 63
  • 95
17
votes
3 answers

Friendly name from Google using OpenID?

When I play ping-pong with the Google OpenID provider, I can't get a friendly name/nickname/username (whatever you want to call it). I get something atrocious looking like the…
MunkiPhD
  • 3,598
  • 27
  • 50
16
votes
5 answers

How do I use a Service Account to Access the Google Analytics API V3 with .NET C#?

I realized this question has been previously asked but with little in the way of example code, so I am asking again but with at least a little bit of direction. After hours of searching, I have come up with the following partial…
Richard Collette
  • 4,768
  • 4
  • 42
  • 71
15
votes
5 answers

What is a good openid selector control?

Now that idselector has been upgraded to RPXNow and you can't "just use" the selector code, what is a good replacement? I want to implement OpenId on a new website that I am using, but the users are going to be just dumb when it comes to logging in…
Tom Anderson
  • 10,456
  • 3
  • 43
  • 62
15
votes
1 answer

RedirectingResponse.AsActionResult() no longer exist, what can I replace that with for DotNetOpenAuth?

I was trying to replicate what Rick is doing here for OpenID implementation: http://www.west-wind.com/weblog/posts/899303.aspx However, when I get to this part: return req.RedirectingResponse.AsActionResult(); Then I cannot continue, as…
PlayKid
  • 831
  • 2
  • 10
  • 21
15
votes
3 answers

DotNetOpenAuth: Webforms, Getting Started

I am trying to figure out how to get DotNetOpenAuth(http://www.dotnetopenauth.net/) working in my webforms app I don't understand where to begin. I have an OpenIDSelector on my Login.aspx that lets you choose google or Yahoo. You can choose one,…
Jason
  • 10,825
  • 23
  • 72
  • 128
15
votes
2 answers

How to use OAuth 2 - OAuth 2 C# example

I have to figure out how to use OAuth 2 in order to use Deviantart api. I got the client_id and client_secret part Here the information they give Endpoints The only information you need to authenticate with us using OAuth 2.0 are the client_id and…
MonsterMMORPG
  • 20,310
  • 69
  • 183
  • 306
15
votes
2 answers

OAuth2 and DotNetOpenAuth - implementing Google custom client

I'm having an issue implementing custom OAuth2Client for google using DotNetOpenAuth and MVC4. I've got to the point where I can successfully make the authorization request to the google endpoint https://accounts.google.com/o/oauth2/auth and Google…
soupy1976
  • 2,697
  • 2
  • 23
  • 31
14
votes
5 answers

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…
Prabhu
  • 11,837
  • 31
  • 115
  • 194
14
votes
1 answer

Dotnetopenauth oAuth Service provider explanation

I am a total newbie in the oAuth area and have set up DotNetOpenAuth to set up an oAuth Service provider. The sample provided in the DotNetOpenAuth download is quite confusing for me...maybe cos i am new to this stuff. There is one default page that…
ria
  • 809
  • 5
  • 18
  • 40
14
votes
3 answers

Can't get the network credentials to work

So I've been working with DotNetOpenAuth for a while, Today I needed to add support for provider that forces me to send the secret key with Basic authentication (I've been using an old version and only Post parameters) I've tried using…
1
2
3
73 74