Authenticate Keycloak Users in Firebase (OIDC Provider)

Viewed 1672

I am trying to authenticate JWT token generated by keycloak provider in firebase.

Here is my firebase configuration.

enter image description here

After that I am following this code where oidcIdToken is I am generating from keycloak server.

https://cloud.google.com/identity-platform/docs/web/oidc#signing_in_users_directly

"INVALID_IDP_RESPONSE : Malformed response cannot be parsed from https://localhost:8443/auth/realms/REALM_NAME/.well-known/openid-configuration for OIDC_DISCOVERY"

I am creating users in keycloak manually right now also I am new in firebase so I am not sure this is correct way to integerate keycloak in firebase using OIDC configuration.

Thanks in advance

0 Answers
Related