Skip to content

Commit 491ac85

Browse files
authored
Match column count for code_verifier in OAuth exchange code flow table to prevent description from being cut off (#57124)
1 parent 51bf0be commit 491ac85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/reusables/apps/web-app-flow-exchange-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
`client_secret` | `string` | **Required.** The client secret for your {% data variables.product.prodname_github_app %}. You can generate a client secret on the settings page for your app.
77
`code` | `string` | **Required.** The code you received in the previous step.
88
`redirect_uri` | `string` | The URL in your application where users will be sent after authorization. This must be an exact match to one of the URLs you provided as a "Callback URL" when setting up your {% data variables.product.prodname_github_app %} and can't contain any additional parameters.
9-
{% ifversion pkce_support %} `code_verifier` | `string` | Strongly recommended | Used to secure the authentication flow with PKCE (Proof Key for Code Exchange). Required if `code_challenge` was sent during the user authorization. Must be the original value used to generate the `code_challenge` in the authorization request. This can be stored in a cookie alongside the `state` parameter or in a session variable during authentication, depending on your application architecture.{% endif %}
9+
{% ifversion pkce_support %} `code_verifier` | `string` | **Strongly recommended.** Used to secure the authentication flow with PKCE (Proof Key for Code Exchange). Required if `code_challenge` was sent during the user authorization. Must be the original value used to generate the `code_challenge` in the authorization request. This can be stored in a cookie alongside the `state` parameter or in a session variable during authentication, depending on your application architecture.{% endif %}
1010
`repository_id` | `string` | The ID of a single repository that the user access token can access. If the {% data variables.product.prodname_github_app %} or user cannot access the repository, this will be ignored. Use this parameter to restrict the access of the user access token further.

0 commit comments

Comments
 (0)