Repository navigation
Replies: 1 comment
|
Great issue. This inhibits our ability to create a complete |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm implementing a custom UserStorage which will use
UserStorageProviderandCredentialInputUpdaterinterface for managing credentials like 'otp', 'password' and 'recovery-keys'.For the federated user the the 'otp' and 'password' updating uses the overridden method in
CredentialInputUpdater.updateCredential(RealmModel realm, UserModel user, CredentialInput input)` to perform a external store update.For the
recovery-keyscredential this is not happening. I found that the for the 'otp' you are using a logic based in this method https://github.com/keycloak/keycloak/blob/main/server-spi-private/src/main/java/org/keycloak/utils/CredentialHelper.java#L88 to perform either a update on theuserStorageorlocalcredentials.Could something similar be done when configuring the 'recovery-keys' credentials in the
keycloak/services/src/main/java/org/keycloak/authentication/requiredactions/RecoveryAuthnCodesAction.java
Line 120 in a774082
localcredential?Regards
All reactions