Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Fix client mobile #305

Merged
merged 3 commits into from
Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions auth0/resource_auth0_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -703,13 +703,13 @@ func expandClient(d *schema.ResourceData) *management.Client {
List(d, "android").Elem(func(d ResourceData) {
m := make(map[string]interface{})
m["app_package_name"] = String(d, "app_package_name")
m["sha256_cert_fingerprints"] = String(d, "sha256_cert_fingerprints")
m["sha256_cert_fingerprints"] = Slice(d, "sha256_cert_fingerprints")
})

List(d, "ios").Elem(func(d ResourceData) {
m := make(map[string]interface{})
m["team_id"] = String(d, "app_package_name")
m["app_bundle_identifier"] = String(d, "sha256_cert_fingerprints")
m["team_id"] = String(d, "team_id")
m["app_bundle_identifier"] = String(d, "app_bundle_identifier")
})
})

Expand Down
8 changes: 5 additions & 3 deletions example/connection/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
provider "auth0" {}
provider "auth0" {
version = ">= 0.16.1"
}

resource "auth0_connection" "my_connection" {
name = "Example-Connection"
Expand All @@ -9,8 +11,8 @@ resource "auth0_connection" "my_connection" {
enable = true
size = 3
}
validation = {
username = {
validation {
username {
min = 5
max = 20
}
Expand Down