I would like to authenticate users against Firebase Authentication via OpenID Connect. In other words:
The documentation does not mention this possibility, so I'd understand if this was not possible.
However:
Implementing my own IDP using Firebase Auth seems to be an overkill, especially that it might already be available.
Any hints anyone?
If you've upgraded to Firebase Authentication with Identity Platform, you can authenticate your users with Firebase using the OpenID Connect (OIDC) compliant provider of your choice.
To sign a user into your app, you first get authentication credentials from the user. These credentials can be the user's email address and password, or an OAuth token from a federated identity provider. Then, you pass these credentials to the Firebase Authentication SDK.
A Flutter plugin that makes it easy to perform OAuth sign in flows using FirebaseAuth. It also includes support for Sign in by Apple for Firebase. This plugin supports Android, iOS and Web.
Old question but I'm surprised no one has answered this.
With Firebase you have the choice of using the simpler Firebase Auth or the more comprehensive Identity Platform to authenticate your users and Identity Platform does support OIDC authentication.
Here's a comparison of the differences.
Identity Platform just simply needs to be enabled for your project and it will begin authenticating users without changing a line of code. Both services utilize the same Firebase JS SDK for authentication making the transition easy.
The only "downside" is that the Identity Platform isn't free, but does have a very generous free tier.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With