python-keycloak
python-keycloak copied to clipboard
Please implement create_authenticator_config
Hi, would it be possible implement get_authenticator_config. For now I can create a Conditional OTP , but I can not configure it.
Did you mean adding POST for the endpoint /{realm}/authentication/config/{id}
?
I believe the GET/PUT is already available via keycloak_admin.get_authenticator_config()
and update_authenticator_config()
Hi everyone!
I jump on this old issue to express the same need for a create_authenticator_config
function. This would be very useful.
Hi everyone!
I jump on this old issue to express the same need for a
create_authenticator_config
function. This would be very useful.
So I get into the code and tried to add it myself but actually there is no implementation for a "create" route here in the API (https://www.keycloak.org/docs-api/18.0/rest-api/) Something that bugs me is that an authenticatorConfig parameter is in the RealmRepresentation and in "Update execution with new configuration" so I bet you need to update the Execution Flow config with a config embeded.
For those still waiting for endpoints to be implemented, have a look at mantelo instead. It offers a pythonic way of accessing Keycloak Admin endpoints, and thus supports all the endpoints your keycloak supports.