fix(authentik): extend silverbullet access_token_validity to 7 days to prevent 10m session re-auth popups
This commit is contained in:
@@ -350,6 +350,7 @@ resource "authentik_provider_proxy" "silverbullet" {
|
|||||||
invalidation_flow = data.authentik_flow.default_invalidation_flow.id
|
invalidation_flow = data.authentik_flow.default_invalidation_flow.id
|
||||||
intercept_header_auth = true
|
intercept_header_auth = true
|
||||||
skip_path_regex = "^/service_worker\\.js$|^/\\.client/.*|^/manifest\\.json$"
|
skip_path_regex = "^/service_worker\\.js$|^/\\.client/.*|^/manifest\\.json$"
|
||||||
|
access_token_validity = "days=7"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "authentik_application" "silverbullet" {
|
resource "authentik_application" "silverbullet" {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "1.14.3",
|
"terraform_version": "1.14.3",
|
||||||
"serial": 415,
|
"serial": 417,
|
||||||
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
||||||
"outputs": {
|
"outputs": {
|
||||||
"coder_oauth_client_secret": {
|
"coder_oauth_client_secret": {
|
||||||
@@ -2458,7 +2458,7 @@
|
|||||||
{
|
{
|
||||||
"schema_version": 0,
|
"schema_version": 0,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"access_token_validity": "minutes=10",
|
"access_token_validity": "days=7",
|
||||||
"authentication_flow": "",
|
"authentication_flow": "",
|
||||||
"authorization_flow": "68f43818-60ba-4d8e-ae66-cbac29d7be42",
|
"authorization_flow": "68f43818-60ba-4d8e-ae66-cbac29d7be42",
|
||||||
"basic_auth_enabled": false,
|
"basic_auth_enabled": false,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "1.14.3",
|
"terraform_version": "1.14.3",
|
||||||
"serial": 413,
|
"serial": 415,
|
||||||
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
"lineage": "8aff5d23-05f6-10eb-0ae6-1084c787677e",
|
||||||
"outputs": {
|
"outputs": {
|
||||||
"coder_oauth_client_secret": {
|
"coder_oauth_client_secret": {
|
||||||
@@ -2479,7 +2479,7 @@
|
|||||||
"name": "SilverBullet",
|
"name": "SilverBullet",
|
||||||
"property_mappings": null,
|
"property_mappings": null,
|
||||||
"refresh_token_validity": "days=30",
|
"refresh_token_validity": "days=30",
|
||||||
"skip_path_regex": ""
|
"skip_path_regex": "^/service_worker\\.js$|^/\\.client/.*|^/manifest\\.json$"
|
||||||
},
|
},
|
||||||
"sensitive_attributes": [],
|
"sensitive_attributes": [],
|
||||||
"identity_schema_version": 0,
|
"identity_schema_version": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user