Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting Third Party Clients using OAuth 2.0 #86

Closed
5 tasks
danroth27 opened this issue Apr 21, 2015 · 21 comments
Closed
5 tasks

Supporting Third Party Clients using OAuth 2.0 #86

danroth27 opened this issue Apr 21, 2015 · 21 comments

Comments

@danroth27
Copy link
Member

danroth27 commented Apr 21, 2015

ASP.NET 5 -> Security -> Supporting Third Party Clients using OAuth 2.0

[Edit Tom Dykstra] commit with deleted article stub

[Edit Rick-Anderson]

per @Tratcher

@ghost
Copy link

ghost commented Nov 22, 2015

@ghost
Copy link

ghost commented Nov 22, 2015

http://www.jerriepelser.com/blog/introduction-to-aspnet5-generic-oauth-provider is good but appears to be out of date (ExternalAuthenticationOptions doesn't exist)

@danroth27 danroth27 added this to the Backlog milestone Dec 15, 2015
@danroth27 danroth27 added the TOC label May 19, 2016
@danroth27 danroth27 modified the milestones: 1.0.0-rc2, Backlog May 19, 2016
@danroth27 danroth27 added the Pri1 High priority, do before Pri2 and Pri3 label May 19, 2016
@danroth27 danroth27 modified the milestones: 1.0.0-rc2, 1.0.0 May 22, 2016
@tedzhao
Copy link

tedzhao commented Jun 8, 2016

How to implement the OAuth 2 server in ASP.NET Core web application(.net core)? any suggestion or comments.

@danroth27 danroth27 added Pri2 and removed Pri1 High priority, do before Pri2 and Pri3 labels Jun 14, 2016
@Tratcher
Copy link
Member

@Tratcher
Copy link
Member

Tratcher commented Jun 23, 2016

The social logins writeup is a good start for Facebook. Here are some things we should add to this or related docs:

@markadrake
Copy link

Hi @Tratcher - is there any documentation in the works? I've actually managed to stumble through creating my own middleware by using multiple examples I've found online. But one of the last things I need to do is go from identity.AddClaim (which stores claims in a cookie) and change it to store this information in the database.

Thanks for all the hard work everyone's put into asp.net and it's documentation!

Mark

@Tratcher
Copy link
Member

@HaoK @blowdart ?

@Tratcher
Copy link
Member

@rustd ?

@HaoK
Copy link
Member

HaoK commented Jul 11, 2016

@Rick-Anderson might know

@Rick-Anderson
Copy link
Contributor

We don't have anything scheduled. If one of you guys wants to write it (in word, notpad or anything I can read), I'll get it published.

@Rick-Anderson
Copy link
Contributor

#1470 copied @Tratcher issues

@danroth27 danroth27 modified the milestones: 1.1.0, 1.0.0 Oct 6, 2016
@tdykstra tdykstra modified the milestones: Backlog, 1.1.0 Dec 5, 2016
@tmm360
Copy link

tmm360 commented Jan 10, 2017

Is this scenario actually supported? Because I'm having issues configuring a login with FB from my app. See dotnet/aspnetcore#1871

@danroth27
Copy link
Member Author

We don't have built-in support for building an authorization server with ASP.NET Core, but you can integrate with an existing service like Azure AD B2C or use a community package like IdentityServer4

@danroth27
Copy link
Member Author

@tmm360 Note, to specifically configure login with FB see https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/facebook-logins.

@tmm360
Copy link

tmm360 commented Jan 10, 2017

Thank you @danroth27, I'm trying to explore the OAuth world, but it's a bit complex. Anyway I should have found a solution to my problem...
I don't need an OAuth server, but I need to pass through an initialization call on my service for generate the state parameter, and so go to FB for login. I was directly pointing to Facebook from app, and on redirect to my server I was missing the state parameter.

@Ponant
Copy link
Contributor

Ponant commented Mar 3, 2017

@Tratcher , I think your bullet points will be a great addition. I had to switch back and forth between a @rustd video on youtube and Adam Tulliper on MVA to see how you can add scope to retrieve stuff (friends pictures etc) to your app or db. But these videos go back to a few years ago and they were using a FacebookClient with using statements whereas we could go through DI to fit the .Net Core design.
It will be great to have a working prototype going beyond @danroth27's link above.

@Rick-Anderson Rick-Anderson removed the TOC label Mar 21, 2017
@Rick-Anderson
Copy link
Contributor

@voltagex would you be able to work on this doc?

@isaacrlevin
Copy link
Contributor

@Rick-Anderson @danroth27 is this still valid? From what I gather is that the original request was how to build an OWIN middleware to use OAuth2, is that correct?

@Rick-Anderson
Copy link
Contributor

@isaac2004 look at what @Tratcher posted.

@isaacrlevin
Copy link
Contributor

@Rick-Anderson @Tratcher it seems like some of this checklist is done, so is this what is needed

Does that seem right? Plus it seems like the issues for this got moved into #1470, so is this still needed?

@Rick-Anderson
Copy link
Contributor

Moved to #1470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests