Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .last-synced-sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
602d9f70df4f107aa8b4366ef3cf140bd81212c3
47bcae12b5f6645e1a33184346e7e8d8df7b9ec8
8 changes: 8 additions & 0 deletions spec/open-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31132,6 +31132,14 @@ components:
- authorization_code
- urn:ietf:params:oauth:grant-type:token-exchange
example: authorization_code
code_verifier:
type: string
description: >-
The PKCE code verifier matching the `code_challenge` sent with the
authorization request. Required when the authorization request
included a `code_challenge`. Must be sent in the request body.
example: code_verifier_value

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Invalid PKCE verifier example The new code_verifier_value example is only 19 characters long, below PKCE’s 43-character minimum. Documentation or generated request samples that use it will produce an invalid verifier. The existing authentication flow has a valid-length example that can be used here.

Suggested change
example: code_verifier_value
example: dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk

Knowledge Base Used: OpenAPI service contract

Prompt To Fix With AI
This is a comment left during a code review.
Path: spec/open-api-spec.yaml
Line: 31141

Comment:
**Invalid PKCE verifier example** The new `code_verifier_value` example is only 19 characters long, below PKCE’s 43-character minimum. Documentation or generated request samples that use it will produce an invalid verifier. The existing authentication flow has a valid-length example that can be used here.

```suggestion
          example: dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
```

**Knowledge Base Used:** [OpenAPI service contract](https://app.greptile.com/workos/-/custom-context/knowledge-base/workos/openapi-spec/-/docs/openapi-contract.md)

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

format: password
subject_token:
type: string
description: >-
Expand Down
Loading