-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No authentication provider found for id: registration-page-form #896
Comments
Having the same issue with all the executions included in the default registration flow |
This appears to still be an issue with Keycloak version 26.x. |
@shaidar Have you checked this on the |
I think you have an error in your subflow configuration. If you want to recreate the registration flow, your
This will create a The following works for me:
|
@thomasdarimont Thanks for the response. The error is actually coming from the That being said, trying to duplicate the registration auth flow using the UI, I don't see the |
@shaidar ah I see, I think the following does what you need: You can configure the resource "keycloak_realm" "test" {
realm = "gh-896"
enabled = true
}
resource "keycloak_authentication_flow" "registration-copy" {
alias = "registration-copy"
realm_id = keycloak_realm.test.id
description = "Custom registration"
}
resource "keycloak_authentication_subflow" "registration-copy-form" {
realm_id = keycloak_realm.test.id
parent_flow_alias = keycloak_authentication_flow.registration-copy.alias
alias = "registration-copy-form"
requirement = "REQUIRED"
description = "Custom Registration Form"
authenticator = "registration-page-form"
provider_id = "form-flow"
}
resource "keycloak_authentication_execution" "register-user-profile-creation" {
realm_id = keycloak_realm.test.id
parent_flow_alias = keycloak_authentication_subflow.registration-copy-form.alias
authenticator = "registration-user-creation"
requirement = "REQUIRED"
}
resource "keycloak_authentication_execution" "register-validate-password" {
realm_id = keycloak_realm.test.id
parent_flow_alias = keycloak_authentication_subflow.registration-copy-form.alias
authenticator = "registration-password-action"
requirement = "REQUIRED"
depends_on = [keycloak_authentication_execution.register-user-profile-creation]
}
resource "keycloak_authentication_execution" "register-recaptcha" {
realm_id = keycloak_realm.test.id
parent_flow_alias = keycloak_authentication_subflow.registration-copy-form.alias
authenticator = "registration-recaptcha-action"
requirement = "DISABLED"
depends_on = [keycloak_authentication_execution.register-validate-password]
}
resource "keycloak_authentication_execution" "register-terms" {
realm_id = keycloak_realm.test.id
parent_flow_alias = keycloak_authentication_subflow.registration-copy-form.alias
authenticator = "registration-terms-and-conditions"
requirement = "DISABLED"
depends_on = [keycloak_authentication_execution.register-recaptcha]
} |
Yeah that seems to work. Thanks for the help! |
Under Keycloak's Authentication when trying to create a registration flow that is basically a copy of the built-in registration flow, the registration flow has an authentication execution step that requires a
registration-page-form
as its authenticator. However, that throws the following error:Looking at the code here the endpoints specified in the comment, does not include the
registration-page-form
as that's available at the following endpoint:The text was updated successfully, but these errors were encountered: