Running Keycloak 21.1.2 and version 1.0.0 of keycloak-user-migration plugin on a kubernetes cluster
I've setup a Rest client using this plugin with no authentication. The url is following, I've redacted the subdomain which I am using.
https://{{redacted}}.ngrok.app/api/external-login

I can login if a user already exists in Keycloak but if the user does not exist then Keycloak or this plugin is not calling the configured REST API endpoint.
I've looked into the logs and I can see that first it generates a SQL query to check if that user exists in the Keycloak db and then after few further log entries, it has another SQL query to insert into EVENT_ENTITY table with the error that user not found.
Between these log entries, I would suspect something from Keycloak or this plugin which invoke this rest endpoint but nothing. There are only other logs which are related to Hibernate.
Attaching the screenshots just to show you that there is nothing related to lazy migration in the logs.
Entry no. 157 2024-03-15T12:10:11.207+00:00
is the SELECT query, trying to find that user in the Keycloak user table.
Entry no. 121 2024-03-15T12:10:11.387+00:00
is the insert into Event_entity table.
What's going on? How do I confirm if this plugin is working or am I missing something?


Running Keycloak 21.1.2 and version 1.0.0 of keycloak-user-migration plugin on a kubernetes cluster
I've setup a Rest client using this plugin with no authentication. The url is following, I've redacted the subdomain which I am using.

https://{{redacted}}.ngrok.app/api/external-loginI can login if a user already exists in Keycloak but if the user does not exist then Keycloak or this plugin is not calling the configured REST API endpoint.
I've looked into the logs and I can see that first it generates a SQL query to check if that user exists in the Keycloak db and then after few further log entries, it has another SQL query to insert into EVENT_ENTITY table with the error that user not found.
Between these log entries, I would suspect something from Keycloak or this plugin which invoke this rest endpoint but nothing. There are only other logs which are related to Hibernate.
Attaching the screenshots just to show you that there is nothing related to lazy migration in the logs.
Entry no. 157
2024-03-15T12:10:11.207+00:00is the SELECT query, trying to find that user in the Keycloak user table.
Entry no. 121
2024-03-15T12:10:11.387+00:00is the insert into Event_entity table.
What's going on? How do I confirm if this plugin is working or am I missing something?