Check if Profile is linked to Linked identity providers?

53 views Asked by At

I have a running Keycloak and using Pac4j. Some accounts have an access directly to Keycloak (password and username stored there in the database). But I have enabled also login via Social Login (e.g. Google). Those accounts have an entry in Keycloak, but mapped to a Social Login.

I would like to implement via Keycloak API a "Password Reset", but this make only sense for those accounts, which stored with password directly in Keycloak database (= no Social Login).

How can I check if a Account (Profile) is mapped to a Social Login via Pac4j? I thought maybe I can get this information with KeycloakOidcProfile but I haven“t found any property.

Here this information from Keycloak enter image description here

Any ideas?

1

There are 1 answers

5
jleleu On

pac4j only maps what exists in Keycloak so it really depends on what you have in Keycloak and what you can push to pac4j.