How can I use the Firebase Authentication Unity SDK on a desktop OS? - firebase-authentication

We would like to use the Firebase Authentication Unity SDK to access Firebase Authentication from our Unity app.
I believe the Firebase Authentication Unity SDK is available for Android and iOS, but is it also available for MacOS?
Also, if we want to use Firebase Authentication in a Windows Unity app, we cannot use the Firebase Authentication Unity SDK, but an alternative would be to use the Firebase Auth REST API. Is the Firebase Auth REST API a good alternative?
Translated with www.DeepL.com/Translator (free version)

Related

How to achieve authorization code flow with PKCE with mobile app (React Native)?

For the past few days, I have been wondering about the authentication issue in mobile applications. I am in the process of implementing a mobile application using React Native.
I'm also implementing an API for this application using .NET Core 6.0 technology and I'm trying to use OpenIdDict library.
One thing I can't understand: mobile applications nowadays when trying to login with login (mail/login/phone number) do not redirect to a separate login page, which should be hosted by an authorization server.
So how do apps use PKCE (if they use it at all)? Is it possible to implement PKCE without hosting such a page? Is it possible to implement an authentication server on the same server where the resources are available? Are two servers even necessary for the secure operation of such an application?

OkTA SAML integration with React Native

I am developing a react native application. I want to integrate OKTA SAML for SSO(single sign on) in my application. while OKTA official website only provide SDK for Open ID Connect. Is there any way to integrate OKTA SAML SSO in a react native application
You can use a library like this one: http://www.passportjs.org/packages/passport-saml/
Creating a SAML application on Okta is straight-forward: https://help.okta.com/en/prod/Content/Topics/Access-Gateway/add-app-saml-pass-thru-add-okta.htm

Google Identity Platform SAML setup for mobile applications

I have successfully set up SAML on my react web app with Google Identity Platform and the redirection works when logging in with my test account with Okta(Identity Provider). There is no documentation for mobile SAML setup for Google Identity Platform. Is there any way to set this up or customize the redirect behavior so that it redirects to a mobile URL scheme? (for example, my-apps-bundle-id://saml-sign-in)
It's not yet supported by Firebase for native apps. The "classic" approach is to use a secure equivalent of a web view: SFSafariViewController in iOS9+ or Chrome Custom Tabs in Chrome 45+

Sharing Google oAuth Tokens between Android, iOS and Web apps

We're building an application which accesses files in Google Drive. Our application has a web UI, an Android App and an iOS app. We use oAuth2 to let the user authorize our app to access their Google Drive account. We use the Google Drive Java SDK in the web application and the Android/iOS SDK of Google Drive for mobile. We're unable to use the oAuth tokens returned by the Android SDK in iOS and vice versa. We also can't use the token received by the Java SDK(by our web server) in the Android app. Because of this, we have had to create separate oAuth clients for each platform(web, Android, iOS) and the user needs to authorize once on each platform, which is not very user-friendly. Is there a better way to use the same oAuth token across clients? Am I missing something very basic here?
You'll need to get a token on iOS and Android for the server.
See this doc for iOS
See this doc for Android
On each of the app, you'll ask a user to sign in first. Then check on the server if there is already a token or not. If not then ask for that access and store the token on the server.

Why Firebase Analytics SDK automatically gets added when installing Firebase Cloud Messaging?

I'm developing an iOS application in which I am using Firebase Cloud Messaging. When I'm installing the FCM SDK, in the Pod's section, the Firebase Analytics SDK automatically installed. Please anyone let me know.
Firebase Analytics is the core of Firebase and it "also integrates with a number of other Firebase features. For example, it automatically logs events that correspond to your Firebase Notifications and provides reporting on the impact of each campaign." If you don't want it, you can disable it (here)