add invalid_token error to openapi spec

pull/4163/head
Rigel Kent 2021-06-04 08:40:08 +02:00
parent 868fce62f8
commit a31e9b183e
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 6 additions and 0 deletions

View File

@ -960,6 +960,12 @@ paths:
Disambiguate via `type`: Disambiguate via `type`:
- `invalid_client` for an unmatched `client_id` - `invalid_client` for an unmatched `client_id`
- `invalid_grant` for unmatched credentials - `invalid_grant` for unmatched credentials
'401':
x-summary: token expired
description: |
Disambiguate via `type`:
- default value for a regular authentication failure
- `invalid_token` for an expired token
x-codeSamples: x-codeSamples:
- lang: Shell - lang: Shell
source: | source: |