Asp.Net Identity Social Login - Open in fancy box - asp.net

Currently, I am working on ASP.Net Identity related project. I implemented code to use external login providers like Google, Facebook, Microsoft, Twitter and Yahoo in our project. It's working fine.
But, our client is asking us to open external provider login page in a fancybox and on clicking login button, the page need to be navigated to our actual project based on validation of login credentials. Please suggest me any solution.

Related

Flutter web with Firebase hosting doesn't work

I made a Flutter web page that has a login page and some more pages after logging in.
(my login page is just like a simple quiz, not proper authentication requires OAuth 2.0).
When I tested with the simulator(Chrome) in VScode, it worked well.
However, the firebase hosting page doesn't work correctly.
The login page works well, but it doesn't go to another page.
TextFormField with validator in Login page worked well, but it shows just a white screen after login success.
Please help me...

Asp.net and facebook share buttom

i have an asp.net web application and i need to add a button that shares content to facebook.
Is there any way to do it ?
You can share your webpage on Facebook by referring to the developer guide provided by facebook.
https://developers.facebook.com/docs/sharing/reference/share-dialog

Facebook SDK for .NET - not working

I need a Facebook login button for an ASP.NET 4.5 site (not MVC).
I have followed this tutorial for the Facebook SDK:
http://facebooksdk.net/docs/web/getting-started/
But it skips over several points, doesn't provide any downloads and just doesn't work.
How can I do this - ideally using built in methods that require little work to implement - and allow you to retrieve email from Facebook. If that isn't possible a NuGet package (ideally one that is widely used) would be fine.
The Facebook SDK for .NET looks promising but I can't get it working and can't find other examples of its use online.
UPDATE
I need the user to press login, be authenticated, then give me their email (from fb?), enter a password.
I need to know all this and manipulate it all from C# code behind.
If they are already logged into FB - and already signed up for my site - I need them to be auto logged in (I will be using custom authentication on the asp.net side).
If you need the Facebook login or singup button then you do not need Facebook .Net SDK. You need to use Facebook Javascript SDK. Then you can use the <fb:login-button> XFBML tag.
If the user is already logged in to Facebook, the plugin can show the user's profile picture, if configured to.
Please refer here: https://developers.facebook.com/docs/reference/plugins/login/
Eventually I followed this tutorial:
http://www.aspsnippets.com/Articles/Login-with-FaceBook-account-in-ASPNet-Website.aspx
This was excellent and does exactly what I need.

Using Salesforce as IDP for ASP.NET?

I have a asp.net website. I am going to post a link to this website in SalesForce. Our requirement is that any user who has logged into SalesForce should get logged into the custom web site when he clicks on the the link.
Is it technically possible to even do this ?
Yes.

How to use Twitter as the Login for a Website

We are developing an asp.net 2.0 web application in that user can sign-up or sign-in using twitter account.
when the user click on the twitter button, it should take you to the twitter login page.
after your login is successful twitter should able to forward me back to my page webpage.
Please let me know.
eg.
twitter
For this you use Twitter's OAuth authentication framework. It's used so that users don't have to directly enter their user + password into your site. (I assume you know how the front-end to that works already.)
You can use this little example to use OAuth from .NET - it is built for ASP.NET. (The demo the guy provides is My Tweeple.)
Twitter actually includes instructions for using OAuth to make a Facebook Connect-style system.
http://dev.twitter.com/pages/sign_in_with_twitter
Twitterizer library have sample ASP.NET application that will walk you through the OAuth authorization process and attempt to explain what’s going on and how you can do the same in your application.
This article demonstrates that How to integrate Twitter into web application
using Twitterizer library.You can allow your visitors to post tweets, view their timeline and much more.
Here is an example shows how to implement Twitter OAuth with .NET and attached sample code.

Resources