Discourse SSO with firebase auth on mobile - firebase

I have an app that uses firebase authentication. And I would like to build a forums section in my app using the discourse api’s. Is there a solution that would work? I’d like for a user to automatically login the discourse side (after built into the app) when using firebase auth in my existing app.
TYIA

Related

Securing a .NET core API using a react frontend

Currently I have a react frontend that authenticates users using msal.js (Azure AD B2C). The backend API is built with .NET Core and currently accessible to anyone.
I would like to secure the API so that only a user authenticated on the frontend can access the API.
Is there any documentation/sample apps on how to achieve this?
Yes, you can secure the application. using React authenticate API which naturally handles the authentication which was imported by other parts of the app.
Here is the example Tutorial of creating a react App with Authentication.
The Authentication React App is based on the NPM.
here is the command that used for creating React APP auth.
create-react-app react-auth0
Also, you can go through the So thread which has related discussions.

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

Realm Mobile Platform with Firebase Authentication

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.

how can you migrate from meteor to node/express?

I'm thinking of prototying a web and ios app in meteor, if I find there is traction I would like build a native app (non phonegap). I want keep to keep my existing mongo data (user accounts, fb tokens, etc), and build the api in node/express for native ios app. However, I'm not sure how to migrate the user auth to use token based authentication when migrating to node.
P.S my app isn't reactive/realtime and doesn't necessarily require I use ddp.
thanks

Resources