---
reference:
  curl:
    - url: /reference/workos-connect/standalone/user-consent-options
      key: authkit_standalone_user_consent_options
      id: authkit_standalone_user_consent_options
      title: User Consent Options
      properties:
        - key: claim
          type: string
          description: The claim name that will appear in the token.
        - key: type
          type: '"enum"'
          description: Always `enum` (currently the only supported type).
        - key: label
          type: string
          description: Display text for the option.
        - key: choices
          type: array
          description: Array of choices. See the flat and grouped examples.
          properties:
            - key: label
              type: string
              description: Display text for the value.
            - key: value
              type: string
              description: The value that will appear in the claim if selected.
originalPath: >-
  .tmp-workos-clone/packages/docs/content/reference/workos-connect/standalone/user-consent-options.mdx
---

## User Consent Options

The `user_consent_options` can take an array of consent options that the user will be required to choose from on AuthKit's OAuth consent screen. The chosen option will then become available as a JWT claim on the issued access token.

These options can be presented as either a flat or grouped set of options.

<CodeBlock referenceId="authkit_standalone_user_consent_options">
  <CodeBlockTab title="Flat" file="user-consent-choice-flat" />
  <CodeBlockTab title="Grouped" file="user-consent-choice-grouped" />
</CodeBlock>
