fix: fix session handling (remove IdleTimeout)

This commit is contained in:
Christoph Haas
2025-03-30 23:14:49 +02:00
parent 3723e4cc75
commit 87bf5da5bd
6 changed files with 33 additions and 34 deletions

View File

@@ -58,7 +58,7 @@
}
},
"/auth/logout": {
"get": {
"post": {
"produces": [
"application/json"
],
@@ -66,15 +66,12 @@
"Authentication"
],
"summary": "Get all available external login providers.",
"operationId": "auth_handleLogoutGet",
"operationId": "auth_handleLogoutPost",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/model.LoginProviderInfo"
}
"$ref": "#/definitions/model.Error"
}
}
}
@@ -1523,23 +1520,23 @@
"model.AuditEntry": {
"type": "object",
"properties": {
"ContextUser": {
"type": "string"
},
"Id": {
"type": "integer"
},
"Message": {
"type": "string"
},
"ctx_user": {
"type": "string"
},
"id": {
"type": "integer"
},
"origin": {
"Origin": {
"description": "origin: for example user auth, stats, ...",
"type": "string"
},
"severity": {
"Severity": {
"type": "string"
},
"timestamp": {
"Timestamp": {
"type": "string"
}
}

View File

@@ -2,18 +2,18 @@ basePath: /api/v0
definitions:
model.AuditEntry:
properties:
ContextUser:
type: string
Id:
type: integer
Message:
type: string
ctx_user:
type: string
id:
type: integer
origin:
Origin:
description: 'origin: for example user auth, stats, ...'
type: string
severity:
Severity:
type: string
timestamp:
Timestamp:
type: string
type: object
model.ConfigOption-array_string:
@@ -496,17 +496,15 @@ paths:
tags:
- Authentication
/auth/logout:
get:
operationId: auth_handleLogoutGet
post:
operationId: auth_handleLogoutPost
produces:
- application/json
responses:
"200":
description: OK
schema:
items:
$ref: '#/definitions/model.LoginProviderInfo'
type: array
$ref: '#/definitions/model.Error'
summary: Get all available external login providers.
tags:
- Authentication