require refresh_token in oauth api spec (#6654)

This commit is contained in:
Alexander Petric
2025-09-22 12:22:34 -04:00
committed by GitHub
parent 30b4ef9044
commit e0671a30f1
+2
View File
@@ -3684,6 +3684,7 @@ paths:
properties:
refresh_token:
type: string
description: "OAuth refresh token. For authorization_code flow, this contains the actual refresh token. For client_credentials flow, this must be set to an empty string."
expires_in:
type: integer
client:
@@ -3701,6 +3702,7 @@ paths:
type: string
description: "OAuth token URL override for resource-level authentication (client_credentials flow only)"
required:
- refresh_token
- expires_in
- client
responses: