Google signin in flutter without firebase - node.js

I have a website that is running on nodejs with passport.js to authenticate users with google OAuth.
I am trying to create a flutter application for the website. Is there anyway i can authenticate users on mobile with their already existing records in my database.

Related

Facebook Graph API - NodeJS - Server Side Authentication

I am implementing a social management tool.
LIKE there are 2 businesses BUSINESS_A and BUSINESS_B. Both of their Facebook pages are created using the same Facebook account (fb-page#xyz.com).
And the Facebook App I have created using fb-integration#xyz.com.
Now, I can not give fb-pages#xyz.com or fb-integration#xyz.com credentials to both businesses.
How can I generate an access key server side, without the user login as they are not the creator?
If I make their Email Id as admin on the page. Will that work?

Request Instagram app to authenticate our website users

We have implemented Instagram Login in our site and it is working ok. The issue is that our users have the Instagram app installed in their phones and they are logged in there. But when they try to login into our website using Instagram Login the API opens a webpage asking them to login to Instagram and after that, they will be correctly logged into our app.
Is there a way we can ask the Instagram API to use the Instagram app to authenticate our users?

Authenticate Xamarin forms app with username and password stored in a database table accessible via an Azure mobile app

I need to authenticate my Xamarin forms app with username and password stored in a database table accessible via an Azure mobile app.
We have an Asp.Net web app that users Forms authentication which has its data synched to an Azure SQL database (to user online/offline sync). I then use an Azure Mobile app to access the SQL data and use the Azure Mobile app as the backend for my Xamarin Forms app. We would like the users to log on to the Xamarin app with the same credential that they use for the web app.
Using walk throughs I have been able to get an app authenticating with Google, Azure active directory, etc. but is there a way of using the credentials stored in the Azure SQL database table? For the record I have very little experience with authentication.
I have found this https://github.com/HoussemDellai/CheapIdeas which uses the example of a Web API backend, will this work with an Azure Mobile App backend, aren't they essentially the same thing?
I need to authenticate my Xamarin forms app with username and password stored in a database table accessible via an Azure mobile app.
According to your requirement, I assume that you could use App Service Authentication / Authorization and follow adrian hall's book about Custom Authentication to create the custom CustomAuthController endpoint in your Azure Mobile App backend project.
For your Xamarin client, you could use Azure Mobile Client SDK and login via the following code snippet:
MobileServiceClient.LoginAsync("custom", JObject.FromObject(new User { Username = "<userName>", Password = "<userPassword>" }));
For a quick way, you could follow Create a Xamarin.Forms app to download the Mobile Apps back end, then create your CustomAuthController ApiController and deploy to Azure.

[Azure Mobile App Service]How to login without password on Facebook sign-in?

I activated Facebook sign-in with Azure's Mobile App Service, but the service asked to enter an ID and password.
Instagram or other famous application can login without entering the password as "Continue as a Name" if it is already logged in to FaceBook.
I would like to authenticate Facebook on Azure without entering ID or password, how can I do it?
For Server-managed authentication, your app would authenticate the user through a web view. I checked the server-flow in my Xamarin.Forms app, and found you need to enter the Facebook account info for logging. While browsing the mobile app via the browser, the login page would show "Continue as a Name" if I have already logged in to FaceBook (www.facebook.com).
Note: When using sever-flow, the page asking for Facebook account is under Facebook domain, Azure would not peek or save your Facebook account info.
I would like to authenticate Facebook on Azure without entering ID or password, how can I do it?
Based on your scenario, you need to leverage Client-managed authentication in your mobile app, and you need to install the Facebook app on the device for test. Additionally, you cannot install other apps on the iOS simulator and there may be restrictions on the Android Emulator. So, you generally need to test client flow for social providers on an actual device.
If you integrate the Facebook SDK, then your app will automatically switch to the Facebook app and ask you to approve the authentication request there. For how to integrate the Facebook SDK, you could refer to Facebook login for iOS and Facebook login for Android.

Firebase Admin when I add a user email is anonymous

IM using the new firebase admin SDK for node js and I created an api where I can add users. Everything is working fine but when I see a new user in my firebase dashboard I find Anonymous.
When you create a custom authentication token with Firebase Admin SDK, those users are not shown in the Firebase Authentication console.

Resources