mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-19 23:11:25 +02:00
fix(auth): change userpass to redirect to login and update documentation
This commit is contained in:
@@ -239,8 +239,8 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden: use X-Redirect-To header to redirect to login page",
|
||||
"302": {
|
||||
"description": "Redirects to login page or IdP",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -267,12 +267,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden(webui): follow X-Redirect-To header",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"description": "Too Many Requests",
|
||||
"schema": {
|
||||
|
||||
@@ -1581,8 +1581,8 @@ paths:
|
||||
description: OK
|
||||
schema:
|
||||
type: string
|
||||
"403":
|
||||
description: 'Forbidden: use X-Redirect-To header to redirect to login page'
|
||||
"302":
|
||||
description: Redirects to login page or IdP
|
||||
schema:
|
||||
type: string
|
||||
summary: Check authentication status
|
||||
@@ -1600,10 +1600,6 @@ paths:
|
||||
description: Redirects to login page or IdP
|
||||
schema:
|
||||
type: string
|
||||
"403":
|
||||
description: 'Forbidden(webui): follow X-Redirect-To header'
|
||||
schema:
|
||||
type: string
|
||||
"429":
|
||||
description: Too Many Requests
|
||||
schema:
|
||||
|
||||
Reference in New Issue
Block a user