-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
Comments
Ended up here after looking at https://github.com/aspnet/Security/blob/1a59b385a012ac0873fb599fbe6c648b10088fd5/samples/SocialSample/Startup.cs - how can I help? |
http://www.jerriepelser.com/blog/introduction-to-aspnet5-generic-oauth-provider is good but appears to be out of date (ExternalAuthenticationOptions doesn't exist) |
How to implement the OAuth 2 server in ASP.NET Core web application(.net core)? any suggestion or comments. |
The social logins writeup is a good start for Facebook. Here are some things we should add to this or related docs:
|
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 |
@rustd ? |
@Rick-Anderson might know |
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. |
Is this scenario actually supported? Because I'm having issues configuring a login with FB from my app. See dotnet/aspnetcore#1871 |
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 |
@tmm360 Note, to specifically configure login with FB see https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/facebook-logins. |
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... |
@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. |
@voltagex would you be able to work on this doc? |
@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? |
@isaac2004 look at what |
@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? |
Moved to #1470 |
Oct 12 updates and IAP updates
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
The text was updated successfully, but these errors were encountered: