dotnetopenauth

DotNetOpenAuth 4.3 and Google - OpenID 2.0 + OAuth 1.0 deprecated

给你一囗甜甜゛ 提交于 2019-11-27 01:40:05
问题 If you want to cut to the chase, the question is: what is the best/official way to use DotNetOpenAuth with Google in asp.net mvc 5? About a year ago, I used OAuth (DotNetOpenAuth oAuth and OpenID) pretty much as it came out of the box for asp.net MVC 4 (as it is in the sample project). Since then I used it successfully for google, facebook, yahoo and microsoft. However, recently I have been having intermittent problems with users signing into google. I have tried upgrading to MVC 5 and

Where can I find a list of OpenID Provider URLs?

江枫思渺然 提交于 2019-11-26 17:53:48
问题 I've implemented OpenID on my website but I'm having a hard time finding a list of OpenID Provider URLs. I thought this would be easy to find but I've scoured the web and only found a handful, mostly by accident. Is there a resource that lists available Providers and their authentication URLs? EDIT: Here are the ones I've found so far. I haven't tried all of them so let me know if any of them are wrong. StackExchange https://openid.stackexchange.com Google https://www.google.com/accounts/o8

Securing my REST API with OAuth while still allowing authentication via third party OAuth providers (using DotNetOpenAuth)

久未见 提交于 2019-11-26 17:29:20
问题 I have a product with a straightforward REST API so that users of the product can directly integrate with the product's features without using my web user interface. Recently I have been getting interest from various third parties about integrating their desktop clients with the API to allow users of my product to access their data using that third party application. I've seen that applications that want to use Twitter authenticate using a login page hosted by Twitter that grants a specific

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

与世无争的帅哥 提交于 2019-11-26 15:21:29
问题 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 tried capturing the "RefreshToken" property and using provider.RefreshToken() (amongst other things) and always get a 400 Bad Request response. Does anyone know how to make this work, or know where I can find some samples? The Google Code site doesn't

OpenID: Trying to Get Email Address from Google OP

爱⌒轻易说出口 提交于 2019-11-26 11:57:45
问题 I’m using dotnetopenauth 3.2 to implement Openid and can’t figure out how to get Google to pass the email address in the Claims Response. I know that Google doesn’t support simple registration, but I can’t determine what they do support. Caveat to this question is that I just started learning OpenID and I know I don’t have a solid grasp on the specification which I think is leading to my confusion. Any help would be appreciated! 回答1: Ok figured it out. I posted a question on Goolge's

Facebook/ Twitter with dotnetopenauth? [closed]

柔情痞子 提交于 2019-11-26 06:00:02
问题 I\'ve pretty much got OpenID working using the DotNetOpenAuth library. Now I would like users to be able to use Facebook and Twitter to login. This requires OAuth so I am looking for a tutorial on how to use DotNetOpenAuth OAuth. I\'m having trouble trying to find some simple tutorials on how to do this. Can anyone please help? 回答1: At the time of me answering this question, DotNetOpenAuth has a public Community Tech Preview (CTP) which is available to download. Download that source code.