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

Add login validation lambda #303

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

daethnir
Copy link

@daethnir daethnir commented Dec 7, 2024

LoginValidation was added in 1.53.0 but isn't in the terraform yet.

Include 2 NFCs while here - easier to view commit-by-commit.

@daethnir
Copy link
Author

daethnir commented Dec 7, 2024

Note: running tests on main threw a number of errors so I have not fully verified that this change works.

?   	github.com/gpsinsight/terraform-provider-fusionauth	[no test files]
xclip  -i /tmp/a--- FAIL: TestAccFusionauthTenant_basic (1.84s)
    resource_fusionauth_tenant_test.go:30: Step 1/3 error: Error running apply: exit status 1
        
        Error: unexpected status code: 400(Bad Request) Errors: theme.defaultMessages: You must specify all the required keys in the [theme.defaultMessages] property. It is missing these keys: customize. You may optionally use these default values:
        customize=Customize
        
          with fusionauth_theme.test_guojpvqvpd,
          on terraform_plugin_test.tf line 17, in resource "fusionauth_theme" "test_guojpvqvpd":
          17: resource "fusionauth_theme" "test_guojpvqvpd" {
        
--- FAIL: TestAccFusionauthTheme_basic (1.21s)
    resource_fusionauth_themes_test.go:25: Step 1/3 error: Error running apply: exit status 1
        
        Error: unexpected status code: 400(Bad Request) Errors: theme.defaultMessages: You must specify all the required keys in the [theme.defaultMessages] property. It is missing these keys: customize. You may optionally use these default values:
        customize=Customize
        
          with fusionauth_theme.test_mej19rqcdf,
          on terraform_plugin_test.tf line 3, in resource "fusionauth_theme" "test_mej19rqcdf":
           3: resource "fusionauth_theme" "test_mej19rqcdf" {
        
--- FAIL: TestAccFusionauthUser_basic (1.46s)
    resource_fusionauth_user_test.go:104: Step 1/3 error: Error running apply: exit status 1
        
        Error: unexpected status code: 400(Bad Request) Errors: theme.defaultMessages: You must specify all the required keys in the [theme.defaultMessages] property. It is missing these keys: customize. You may optionally use these default values:
        customize=Customize
        
          with fusionauth_theme.test_xbhr2xrf4b,
          on terraform_plugin_test.tf line 17, in resource "fusionauth_theme" "test_xbhr2xrf4b":
          17: resource "fusionauth_theme" "test_xbhr2xrf4b" {
        
FAIL
FAIL	github.com/gpsinsight/terraform-provider-fusionauth/fusionauth	17.063s
FAIL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant