Beu
Beu

Reputation: 1632

Do I need two Keycloak clients for Google login (via Keycloak JS) and direct username/password login in a single realm?

I have a backend written in Java and a frontend in ReactJS, where I am using Keycloak for authentication. My frontend handles two types of login flows:

Since keycloak-js will not handle confidential clients, but my backend needs to handle confidential clients, my question is:

Do I need to configure two separate Keycloak clients (one for the Google login flow and another for the direct login flow) under the same realm?

How should I configure Keycloak for this scenario to properly handle both types of login under a single realm?

Upvotes: 2

Views: 38

Answers (0)

Related Questions