When using keycloak_user_template_importer_identity_provider_mapper to create a username mapper for a keycloak_oidc identity provider the mapper that ends up being created is invalid. It cannot be opened on the UI nor executed when logging in with the associated provider.
This is due to the invalid value being passed for "identityProviderMapper". The expected value is "oidc-username-idp-mapper" and the value that gets passed is "keycloak-oidc-username-idp-mapper". Updating the value in the DB manually fixes the issue.
When using keycloak_user_template_importer_identity_provider_mapper to create a username mapper for a keycloak_oidc identity provider the mapper that ends up being created is invalid. It cannot be opened on the UI nor executed when logging in with the associated provider.
This is due to the invalid value being passed for "identityProviderMapper". The expected value is "oidc-username-idp-mapper" and the value that gets passed is "keycloak-oidc-username-idp-mapper". Updating the value in the DB manually fixes the issue.