We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Specifying login-passwordless or logout in auth0_prompt_custom_text's prompt field produces an error.
login-passwordless
logout
auth0_prompt_custom_text
prompt
This despite that login-passwordless and logout are recognized prompt types in Auth0's documentation.
The custom prompt text should be applied and posted.
Running a terraform plan with the given resource:
terraform plan
resource "auth0_prompt_custom_text" "example" { prompt = "login-passwordless" language = "en" body = jsonencode( { "login-passwordless-email-code" : { "pageTitle" : "Log in" } } ) }
Produces the following error:
Error: expected prompt to be one of [login login-id login-password login-email-verification signup signup-id signup-password reset-password consent mfa-push mfa-otp mfa-voice mfa-phone mfa-webauthn mfa-sms mfa-email mfa-recovery-code mfa status device-flow email-verification email-otp-challenge organizations invitation common], got login-passwordless │ │ with auth0_prompt_custom_text.example, │ on example.tf line 2, in resource "auth0_prompt_custom_text" "example": │ 2: prompt = "login-passwordless"
This same issue appears with the logout prompt type.
0.43.0
1.3.6
The text was updated successfully, but these errors were encountered:
Hey @Gipphe 👋🏻
Thanks for bringing this to us. We added the missing prompt types in the latest release: https://registry.terraform.io/providers/auth0/auth0/0.44.0/docs/resources/prompt_custom_text#required.
Sorry, something went wrong.
No branches or pull requests
Checklist
Description
Specifying
login-passwordless
orlogout
inauth0_prompt_custom_text
'sprompt
field produces an error.This despite that
login-passwordless
andlogout
are recognized prompt types in Auth0's documentation.Expectation
The custom prompt text should be applied and posted.
Reproduction
Running a
terraform plan
with the given resource:Produces the following error:
This same issue appears with the
logout
prompt type.Auth0 Terraform Provider version
0.43.0
Terraform version
1.3.6
The text was updated successfully, but these errors were encountered: