When I configure the fusionauth_idp_google.login_method to UseVendorJavaScript I receive the following error:
Error: expected login_method to be one of ["UsePopup" "UseRedirect" "LinkByEmail"], got UseVendorJavaScript
with module.fusion-auth.fusionauth_idp_google.google,
on fusion-auth/idp.tf line 23, in resource "fusionauth_idp_google" "google":
23: login_method = "UseVendorJavaScript"
According to API documentation these are the valid values for the login method:
UsePopup - When logging in use a popup window and the Google JavaScript library.
UseRedirect - When logging in use the Google OAuth redirect login flow.
UseVendorJavaScript - When logging in allow the Google JavaScript library to determine the login method.
When I configure the
fusionauth_idp_google.login_method
to UseVendorJavaScript I receive the following error:According to API documentation these are the valid values for the login method:
so it looks like
LinkByEmail
should be replaced byUseVendorJavaScript
.