If you have a full json with all realm configuration, you can import it to keycloak instance using the admin-cli client and admin user: hence KeyCloakRptTokenFilter filter is essential at the end of ...