Skip to content
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

Provider doesn't support some languages (e.g. ES-419) for custom prompt Resources #1033

Open
6 tasks done
jbonifield3 opened this issue Sep 25, 2024 · 4 comments
Open
6 tasks done
Assignees
Labels
🪲 bug Something isn't working

Comments

@jbonifield3
Copy link

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this provider and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

We are using the Terraform provider to support multiple languages for login with the new UL. One of the languages we want to support with custom prompts is is ES-419, which is supported by Auth0:

image

However, when we went to deploy, we saw errors and that this language was not supported (there are some others missing as well, such as te - Tegulu)

image

Checking in resource_custom_text.go, I see ES-419 missing from both the languagesURL and fallbackAvailableLanguages. It seems like while those other languages were added to the API, they were not added as supportable by the provider

Expectation

ES-419 should be supported as a language by the provider.

Reproduction

  1. The associated custom text resource shows the ES-419 language custom text, which errors when deploying
    resource_prompt_custom_text_es-419.tf.txt

Auth0 Terraform Provider version

1.6.0

Terraform version

1.8.0

@jbonifield3 jbonifield3 added the 🪲 bug Something isn't working label Sep 25, 2024
@ramya18101 ramya18101 self-assigned this Oct 17, 2024
@ramya18101
Copy link
Contributor

Hey @jbonifield3 ,

Thanks for noticing out, I'm working on it.

@jbonifield3
Copy link
Author

@ramya18101 - thanks so much! Let me know if there is any additional information I can provide to help get this resolved.

@adenix
Copy link

adenix commented Nov 8, 2024

@ramya18101 Checking in for an update on this. One correction, we were on v1.3.0 of the Auth0 provider at time of bug report. We are now on v1.7.3

@adenix
Copy link

adenix commented Nov 8, 2024

It looks like the CDN advertised languages is missing the code altogether
https://cdn.auth0.com/ulp/react-components/development/languages/available-languages.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants