We are developing an internal app using Budibase, that interacts with a REST API that expects a Firebase Authentication token in the authorization
header.
Budibase allows us to set this header for each API call, but our problem is that there is no built in way to sign in using Firebase Auth.
The options that we do have are Google or OpenID Connect. My question is therefore: Can we use Firebase Auth as an OIDC provider? (Not as an OIDC Client like is possible with Identity Platform).
As far as I know, the answer to the above question is no. We have therefore investigated whether we can create our own OIDC provider to bridge the gap between Firebase and Budibase using oidc-provider
in Node.js. That does however seem like a very complicated solution, since it appears like oidc-provider
implements a lot of OIDC features that we don't need.
Is there a simpler (without affecting the security of course) way to create a provider if we reduce the amount of features available? For example, we only need to support a single client (which can be hard coded / set by environment variables).
Yes, You can use Firebase Auth as an OIDC provider
Here are the simple steps
Read this doc