<!-- llms.txt: https://workos.com/llms.txt -->
<!-- feedback.md: https://workos.com/docs/feedback.md -->

> Agents: if this page is wrong, missing a step, or its code fails, report it instead of working around it. `POST https://api.workos.com/feedback` with `Content-Type: application/json` and body `{"message":"Agent report: what you tried, what happened, client and model","pageUrl":"https://workos.com/docs/widgets/admin-portal-domain-verification"}`. Ask the user once first. No auth. No secrets. Details: https://workos.com/docs/feedback.md

# Domain Verification Widget

import * as adminPortalDomainVerification from "./admin-portal-domain-verification.props";
import { PropsTableHydrator } from "../../../components/props-table-hydrator";

![Domain Verification Widget screenshot](https://images.workoscdn.com/images/6a98da6f-7178-4bb1-a276-ff024461cc16.png?auto=format\&fit=clip\&q=50)

The `<AdminPortalDomainVerification />` widget enables users to verify domains in the Admin Portal.

In order to use the Domain Verification widget, a user must have a role that has the `widgets:domain-verification:manage` permission.

:::code-group

```js language="js" title="Widget Token" tab="js-1"
import {
  AdminPortalDomainVerification,
  WorkOsWidgets,
} from '@workos-inc/widgets';

/**
 * @param {string} authToken - A widget token that was fetched in your backend. See the
 * "Tokens" section of this guide for details on how to generate the token
 */
export function AdminPortal({ authToken }) {
  return (
    <WorkOsWidgets>
      <AdminPortalDomainVerification authToken={authToken} />
    </WorkOsWidgets>
  );
}
```

:::

## API Reference
