BeeInventor / keycloak-cognito-migration

A Keycloak UserStorageProvider for migrating users from AWS Cognito
MIT License
19 stars 5 forks source link

Access to the legacy store is no longer possible via this method. Adjust your code according to the Keycloak 19 Upgrading Guide. #7

Open virendrasharma1 opened 1 year ago

virendrasharma1 commented 1 year ago

I have entered all the required details but facing this issue when I click on sync all users.

2023-01-17 16:12:06,244 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-9) Uncaught server error: java.lang.IllegalStateException: Access to the legacy store is no longer possible via this method. Adjust your code according to the Keycloak 19 Upgrading Guide. at org.keycloak.services.DefaultKeycloakSession.userLocalStorage(DefaultKeycloakSession.java:174) at com.beeinventor.keycloak.CognitoMigrationUserStorageProviderFactory$Closure_sync_0.invoke(src/haxe/com/beeinventor/keycloak/CognitoMigrationUserStorageProviderFactory.hx:220) at com.beeinventor.keycloak.CognitoMigrationUserStorageProviderFactory$Closure_sync_0.invoke(src/haxe/com/beeinventor/keycloak/CognitoMigrationUserStorageProviderFactory.hx)

Any solution for this?