chromium/components/policy/resources/templates/policy_definitions/Extensions/ExtensionOAuthRedirectUrls.yaml

owners:
- melfice@google.com
- cros-3pidp@google.com

supported_on:
- chrome_os:118-

features:
  dynamic_refresh: true
  per_profile: true

caption: Configure additional OAuth redirect URLs
  per extension

desc: |-
  Setting this policy specifies, for each affected extension, a list of OAuth redirect URLs that can
  be used by extensions with the <ph name="IDENTITY_API_NAME">identity</ph> API
  (<ph name="IDENTITY_API_URL">https://developer.chrome.com/docs/extensions/reference/identity/</ph>)
  in addition to the standard https://&lt;extension id&gt;.chromiumapp.org/ redirect URL.

  Leaving the policy unset, or providing an empty list of URLs means that all the apps or extensions
  may only use the standard redirect URL when using the <ph name="IDENTITY_API_NAME">identity</ph> API.

example_value: {"lcncmkcnkcdbbanbjakcencbaoegdjlp": ["example://example/", "https://lcncmkcnkcdbbanbjakcencbaoegdjlp.chromiumapp.org/"]}

type: dict
schema:
  type: object
  additionalProperties:
    type: array
    items:
      type: string

tags:
- admin-sharing