Skip to content

Commit c9c056d

Browse files
committed
update cloudflare access auth0 client
1 parent e37a9f2 commit c9c056d

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

modules/auth0/auth0.tf

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,23 @@ resource "auth0_client" "cloudflare_access" {
1717
callbacks = ["https://epicpatka.cloudflareaccess.com/cdn-cgi/access/callback"]
1818
client_aliases = []
1919
client_metadata = {}
20-
compliance_level = null
2120
cross_origin_auth = false
22-
cross_origin_loc = null
23-
custom_login_page = null
24-
custom_login_page_on = true
25-
description = null
26-
encryption_key = null
27-
form_template = null
2821
grant_types = ["authorization_code", "refresh_token"]
29-
initiate_login_uri = null
22+
initiate_login_uri = "https://epicpatka.cloudflareaccess.com/"
3023
is_first_party = true
3124
is_token_endpoint_ip_header_trusted = false
32-
logo_uri = null
3325
name = "Cloudflare Access"
3426
oidc_conformant = true
35-
organization_require_behavior = null
36-
organization_usage = null
27+
organization_usage = "deny"
3728
require_proof_of_possession = false
3829
require_pushed_authorization_requests = false
39-
resource_server_identifier = null
4030
skip_non_verifiable_callback_uri_confirmation_prompt = false
41-
sso = false
31+
sso = true
4232
sso_disabled = false
4333
web_origins = []
4434
default_organization {
4535
disable = true
4636
flows = []
47-
organization_id = null
4837
}
4938
jwt_configuration {
5039
alg = "RS256"
@@ -64,12 +53,12 @@ resource "auth0_client" "cloudflare_access" {
6453
}
6554
}
6655
refresh_token {
67-
expiration_type = "non-expiring"
56+
expiration_type = "expiring"
6857
idle_token_lifetime = 2592000
69-
infinite_idle_token_lifetime = true
70-
infinite_token_lifetime = true
58+
infinite_idle_token_lifetime = false
59+
infinite_token_lifetime = false
7160
leeway = 0
72-
rotation_type = "non-rotating"
61+
rotation_type = "rotating"
7362
token_lifetime = 31557600
7463
}
7564
}

0 commit comments

Comments
 (0)