You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Microsoft.AspNetCore.Authentication.Facebook` provides ASP.NET Core middleware that enables an application to support Facebook's OAuth 2.0 authentication workflow.
4
+
5
+
## How to Use
6
+
7
+
To use `Microsoft.AspNetCore.Authentication.Facebook`, follow these steps:
1. Refer to the guide in the official documentation [here](https://learn.microsoft.com/aspnet/core/security/authentication/social/facebook-logins#create-the-app-in-facebook) to create the app in Facebook.
18
+
2. Follow the steps in the official documentation [here](https://learn.microsoft.com/aspnet/core/security/authentication/social/facebook-logins#store-the-facebook-app-id-and-secret) to store the Facebook app ID and secret.
19
+
3. Configure the middleware your ASP.NET Core app's `Program.cs`:
*`FacebookOptions`: Represents the options for configuring Facebook authentication
36
+
*`FacebookHandler`: The authentication handler responsible for processing Facebook authentication requests and generating the appropriate authentication ticket
37
+
38
+
## Additional Documentation
39
+
40
+
For additional documentation and examples, refer to the [official documentation](https://learn.microsoft.com/aspnet/core/security/authentication/social/facebook-logins) on Facebook login setup in ASP.NET Core.
41
+
42
+
## Feedback & Contributing
43
+
44
+
`Microsoft.AspNetCore.Authentication.Facebook` is released as open-source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/aspnetcore).
0 commit comments