Hanzo
PlatformHanzo IAMIntegrationsJavaScript

Firebase

Firebase project using Hanzo IAM as Identity Provider

Firebase supports OIDC; use Hanzo IAM as the OIDC provider for a Firebase web app.

Create a Firebase project

Go to Firebase Console to create a project.

1.1 Add Hanzo IAM as provider

provider

Enable the Identity Platform feature in Firebase first to use OIDC.

Select OpenID Connect in Custom providers, fill in the following information:

Name (in order)DescriptionExample value
NameAny string (e.g. provider name)iam
Client IDClient ID for the Hanzo IAM application294b09fbc17f95daf2fe
Issuer (URL)Hanzo IAM server URLhttps://iam.hanzo.ai
Client SecretClient secret for Hanzo IAM applicationdd8982f7046ccba1bbd7851d5c1ece4e52bf039d

oidc_config0

The above examples values can be retrieved from Hanzo IAM demo site: app-vue-python-example

oidc_config1

1.2 Add callback url

Add Callback URL to Hanzo IAM application Redirect URLs:

oidc_config2

oidc_config3

Example: iam-firebase-example. For using Hanzo IAM auth in your app, see Firebase Auth.

How is this guide?

Last updated on

On this page