firebasefirebase-authenticationopenid-connect

Firebase Authentication via OpenID Connect


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?


Solution

  • 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.