asp .net 4.0 membership with facebook login - asp.net

we are going to develop web-application in asp .net 4.0. in this, we are using asp .net membership provider to login the application. we want to integrate facebook login with this application. user can login to this application using facebook credential and it will be authenticated in our application. Application will allow user to invite facebook friends from this web-site.
Please suggest me on this! is there any facebook API available for this or any other way.. ?

you can use this library to fully integrate your ASP.NET application with Facebook:
Facebook C# SDK
some articles to start with:
Getting Started With Facebook C# SDK
How to Retrieve User Data from Facebook Connect in ASP.NET
http://codesamplez.com/development/c-sharp-library-for-facebook-api
there is also another library called "Facebook Graph Toolkit", but I didn't use it before.
http://fgt.codeplex.com/

Related

Gsuite SAML integration with ASP.net Application

I am developing ASP.Net web application, and we want to integrate it with GSuite using SAML,
Gsuite will have all user information,
We have created SAML application in GSuite, and We want our asp.net to redirect to Google for authentication.
Is there any Sample code in .net
Thanks

Web Forms and Core Authentication

I have a .NET Web Forms website running in IIS (using forms authentication).
I've added a .NET Core 2.2 website as a sub application of the Web Forms site.
Is it possible to share authentication from the Web Forms site to the Core site?
I came across this: https://github.com/dazinator/AspNetCore.LegacyAuthCookieCompat
and was able to check for the forms auth cookie from the parent site when a requests hits the core sub application.
Then I could decrypt the forms auth cookie, to get the user info, and authenticate the user on the core site.
Not sure if this is ideal, because you know have to manage 2 cookies, but it seems to work.

ASP.NET Web-API Facebook login

I'm developing an Android App with an ASP.NET Wep-API Backend. Currently i have problems with the Facebook login. I want to login the users with the FB Access Token i get by the Facebook Android SDK. Is this possible? I thought i read something about that this is possible without a workarround by directly post the token to the /signin-facebook endpoint, but i can't find that solution anymore. So here is my question:
Is it possible to login/register to an ASP.NET Web-API directly with the facebook token? Or do i have to implement a workaround?
Best regards
The Web API comes with OWIN which then allowing you to implement (or activate) Access token login. You need to register to Facebook developer in order to get the app Id and secret key.
You can install in your web api project using nuget:
Install-Package Microsoft.Owin.Security.Facebook -Version 2.1.0
More detail.. you can try follow the link here

Google login and registration in asp.net application

I am developing an asp.net web application in vs2008 framework 3.5.I need to use google login and registration in my site.Please tel me whether i should use any api ?Is there any ways to extract the sign in information from the user who is using my site?
My intention is to create login like that in http://www.plaxo.com/.
You need to use OpenId, dotnetopenauth should serve your purpose.
This article, although for MVC, should explain to you how to use DotNetOpenAuth.

sign in with google account in asp.net

i am trying to use the API for "sign in with Google account" with my asp.net vb website just like StackOverflow or FriendFeed sign in with google. Please let me know if any one implemented it.
You can check out the OpenID Membership Provider from Codeplex
OpenID Membership Provider is an
ASP.Net Membership provider and login
control that is compatible with the
OpenID Authentication 2.0
implementation.
There is also OAuth implementation for .NET (to use with twitter and such services) http://oauth.net/code/.

Resources