Realm Mobile Platform with Firebase Authentication - firebase

My app is currently using Firebase Authentication, and I am already using Realm objects. I just found out about this exciting Realm Mobile Platform. I would like to use that platform in my app, but I notice Realm also has an Authentication module that is required. How will that integrate with my Firebase authentication?

Realm Object Server supports username/password, Facebook and Google authentication methods right now. If there are other providers you would like, please file an issue in the realm-mobile-platform repo
If you need to use Firebase, the enterprise edition supports custom authentication, which this falls under.

Related

is it possible to use firebase admin SDK in flutter web apps?

I am using flutter web and firebase authentication. I want to use firebase admin SDK to manage users from my flutter web application. Is it possible to use firebase admin SDK in flutter web apps. please let me know is it possible or not.
If possible please let me know the previous example links or some information. I have searched on internet but I did not get the information.
From the Firebase documentation on Adding Firebase to your server:
Add the Firebase Admin SDK to your server
The Admin SDK is a set of server libraries that lets you interact with Firebase from privileged environments to perform actions like:
...
As said, the Admin SDKs are designed to be used in privileged environment, since using them gives you full administrative control to your Firebase project. Using it in another context would be a huge security risk, so is not possible.
If you need certain functionality from the Admin SDK in your web app, you can:
Use the Admin SDK in a trusted environment, such as your development machine, a server that you control, or Cloud Functions, to implement that functionality.
Then wrap that code in a custom API that you can call from your client-side code. If you've never done this before, Cloud Functions again provides a good starting point.
In your server-side code, ensure that only authorized users can invoke it.

is it possible to add Firebase Admin SDK into the android app which using realtime database and Firebase storage

I have successfully build two apps (Admin and User) both using same Firebase realtime database. I want to separate the admin and the user app. Admin add the user, but the problem is that the user add by the admin is signing in user app and also in admin app. Kindly help me. I have no idea about admin Sdk, is there any way to get rid of this problem
The Admin SDKs are meant to be used in a trusted environment, such as your development machine, a server you control, or Cloud Functions. They are explicitly not meant to be used in client-side applications.
The common approach to create an administrative app is to:
Create your own server-side API, with either Cloud Functions or on your own server, and expose URL endpoints that can be called from an app. In this code you'll use the Admin SDK, and you'll implement both the logic you need (i.e. creating user accounts), and the logic to secure access to it.
Then call this custom API endpoint from within you Android application.
Also see:
Firebase Admin SDK Android (with an answer from the main author of the SDK)
Firebase Admin SDK for Android, methods not found
Firebase admin sdk not syncing with the gradle

How to create admin portal on google firebase for application on google firebase

I am using GoolgeFirebase for my android application. I want to make an admin portal at GoogleFirebase connected to that application's database to view some admin related tasks, like showing waiters with rating where i have all the wiaters and rating data stored in Google Firebase Realtime Database.
Do i have to create a web app, connected and hosted at the Google Firebase or the GoogleFirebase facilitate itslef for creating some admin portal for the android app.
You have to build something. A web app using firebase hosting is really easy but you can host it anywhere you want including on your own PC. Of course you can also build any kind of app using one of the SDKs or anything that can do HTTPS requests. An special admin android app is an option. Java desktop GUI app may be to your liking.
Sometimes I find building a commandline tool in node.js is perfect for my needs. The command line lets me pipe the output to other tools that are helpful.
Firebase provides a number of Admin SDKs to help build server-side or desktop applications. As of now there are Admin SDKs available for Node.js, Java and Python (although the Python SDK is new and doesn't have realtime DB support yet). You can use one of these SDKs to build your admin portal webapp.

How do I implement DNN Authentication from external desktop application?

I need a way to authenticate users to a DNN site from an external desktop application, in my case a OS X MAC Application.
The Desktop app needs access to Web API service methods on the DNN Site. I think the JSON Web Token (JWT) would work for this, however, we are using DNN 7 and are unable to upgrade at this time. Is there another option to authenticate from outside of the framework? There does not appear to be a DNN API call to even check if a username and password are valid, as everything is strongly tied into .NET Identity. Is there a way to do this?
I want users to login to DNN directly from within a desktop app on MAC.
You could use basic auth with SSL. Here is an answer I gave on how to implement by authorizing web services with basic auth restricted by role.
Basic auth in DNN Web API service

Realm for webservice

I have a really simple question yet not answered (I think) in realm documentation. I am buildint and App that does have API + iOS App + Android App + Web. The web also needs to access to the API and here comes my question:
If I migrate to realm for iOS, Android and api, would it be possible to use it for the web through any type of calls? If so, could you give me some links or documentation to read?
I am assuming you are referring to using the Realm Object Server as your backend. Right now, the server does not offer a web interface, such as a built-in REST API.
Instead, you could build this with the enterprise edition that offers a Node.js SDK where you can access the Realm data server-side. You could create REST endpoints and then retrieve/apply data via the Node.js SDK. Any change that came in through the REST API would then be automatically synced to the mobile clients.

Resources