diff --git a/terraform/authentik.tf b/terraform/authentik.tf index 057a7ff..e8b2ed0 100644 --- a/terraform/authentik.tf +++ b/terraform/authentik.tf @@ -350,6 +350,7 @@ resource "authentik_provider_proxy" "silverbullet" { invalidation_flow = data.authentik_flow.default_invalidation_flow.id intercept_header_auth = true skip_path_regex = "^/service_worker\\.js$|^/\\.client/.*|^/manifest\\.json$" + access_token_validity = "days=7" } resource "authentik_application" "silverbullet" { diff --git a/terraform/terraform.tfstate b/terraform/terraform.tfstate index 7a45dce..44c43aa 100644 --- a/terraform/terraform.tfstate +++ b/terraform/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "1.14.3", - "serial": 415, + "serial": 417, "lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e", "outputs": { "coder_oauth_client_secret": { @@ -2458,7 +2458,7 @@ { "schema_version": 0, "attributes": { - "access_token_validity": "minutes=10", + "access_token_validity": "days=7", "authentication_flow": "", "authorization_flow": "68f43818-60ba-4d8e-ae66-cbac29d7be42", "basic_auth_enabled": false, diff --git a/terraform/terraform.tfstate.backup b/terraform/terraform.tfstate.backup index ad9cb66..7a45dce 100644 --- a/terraform/terraform.tfstate.backup +++ b/terraform/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "1.14.3", - "serial": 413, + "serial": 415, "lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e", "outputs": { "coder_oauth_client_secret": { @@ -2479,7 +2479,7 @@ "name": "SilverBullet", "property_mappings": null, "refresh_token_validity": "days=30", - "skip_path_regex": "" + "skip_path_regex": "^/service_worker\\.js$|^/\\.client/.*|^/manifest\\.json$" }, "sensitive_attributes": [], "identity_schema_version": 0,