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.

1113 questions
23
votes
5 answers

Google+ API: How can I use RefreshTokens to avoid requesting access every time my app launches?

I'm trying to use the Google+ API to access info for the authenticated user. I've copied some code from one of the samples, which works fine (below), however I'm having trouble making it work in a way I can reuse the token across app-launches. I…
Danny Tuppeny
  • 40,147
  • 24
  • 151
  • 275
23
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…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
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,896
  • 9
  • 52
  • 87
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
  • 37,669
  • 27
  • 100
  • 145
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
  • 17,312
  • 21
  • 104
  • 199
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
  • 19,423
  • 9
  • 68
  • 97
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,636
  • 1
  • 29
  • 51
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
  • 5,462
  • 4
  • 53
  • 79
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,807
  • 3
  • 46
  • 63
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
  • 871
  • 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
  • 11,435
  • 24
  • 77
  • 131
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,787
  • 2
  • 26
  • 34
14
votes
4 answers

Where are tutorials for DotNetOpenAuth and how to solve compile error in its samples

I know stackoverflow uses OpenID authentication. I want to try and use this as well. I am using asp.net mvc 2.0 with C#. I found this http://www.dotnetopenauth.net/ and I am wondering if this is what was used for stackoverflow. Also any tutorials…
chobo2
  • 83,322
  • 195
  • 530
  • 832
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
  • 12,995
  • 33
  • 127
  • 210
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
  • 819
  • 5
  • 19
  • 40
1
2
3
74 75