Browse Source

Merge pull request #7095 from aashishagrawall/bug/5871

fix : insufficient and incorrect documentation for /auth/token/refresh endpoint
pull/7232/head
Raju Udava 11 months ago committed by GitHub
parent
commit
9f3ddc1f42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nocodb/src/schema/swagger.json

4
packages/nocodb/src/schema/swagger.json

@ -679,7 +679,7 @@
"properties": { "properties": {
"token": { "token": {
"type": "string", "type": "string",
"description": "New access token for user", "description": "New JWT auth token for user",
"example": "96751db2d53fb834382b682268874a2ea9ee610e4d904e688d1513f11d3c30d62d36d9e05dec0d63" "example": "96751db2d53fb834382b682268874a2ea9ee610e4d904e688d1513f11d3c30d62d36d9e05dec0d63"
} }
} }
@ -698,7 +698,7 @@
"$ref": "#/components/responses/BadRequest" "$ref": "#/components/responses/BadRequest"
} }
}, },
"description": "Regenerate user refresh token", "description": "Creates a new refresh token and JWT auth token for the user. The refresh token is sent as a cookie, while the JWT auth token is included in the response body.",
"tags": [ "tags": [
"Auth" "Auth"
], ],

Loading…
Cancel
Save