auth0_connection google-oauth2 import fails if Allowed Mobile Client IDs
is empty.
#100
Labels
🪲 bug
Something isn't working
Allowed Mobile Client IDs
is empty.
#100
Describe the problem
When running import on
auth0_connection
resources usinggoogle-oauth2
the import will fail with the errordecoding response payload failed: json: cannot unmarshal string into Go struct field ConnectionOptionsGoogleOAuth2.allowed_audiences of type []interface {}
unless the fieldAllowed Mobile Client IDs
is not empty.What was the expected behaviour?
when running
terraform import auth0_connection.<name> <id>
on a socialgoogle-oauth2
resource it completes successfully regardless ofAllowed Mobile Client IDs
Reproduction
google-oauth2
social connection with noAllowed Mobile Client IDs
set.Temporary Solution
Allowed Mobile Client IDs
section of the social connection in the auth0 ui.Allowed Mobile Client IDs
entry created in step 1.Environment
The text was updated successfully, but these errors were encountered: