diff --git a/web/src/pages/sources/scim/SCIMSourceViewPage.ts b/web/src/pages/sources/scim/SCIMSourceViewPage.ts index fb679d343..c65ae7c31 100644 --- a/web/src/pages/sources/scim/SCIMSourceViewPage.ts +++ b/web/src/pages/sources/scim/SCIMSourceViewPage.ts @@ -8,6 +8,8 @@ import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFCard from "@patternfly/patternfly/components/Card/card.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css"; +import PFForm from "@patternfly/patternfly/components/Form/form.css"; +import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFGrid from "@patternfly/patternfly/layouts/Grid/grid.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; @@ -19,6 +21,7 @@ import { EVENT_REFRESH } from "../../../constants"; import "../../../elements/CodeMirror"; import "../../../elements/Tabs"; import "../../../elements/buttons/SpinnerButton"; +import "../../../elements/buttons/TokenCopyButton"; import "../../../elements/events/ObjectChangelog"; import "../../../elements/forms/ModalForm"; import "../../policies/BoundPoliciesList"; @@ -41,7 +44,18 @@ export class SCIMSourceViewPage extends LitElement { source?: SCIMSource; static get styles(): CSSResult[] { - return [PFBase, PFPage, PFButton, PFGrid, PFContent, PFCard, PFDescriptionList, AKGlobal]; + return [ + PFBase, + PFPage, + PFButton, + PFForm, + PFFormControl, + PFGrid, + PFContent, + PFCard, + PFDescriptionList, + AKGlobal, + ]; } constructor() { @@ -78,12 +92,12 @@ export class SCIMSourceViewPage extends LitElement {
- ${t`Callback URL`} + ${t`Slug`}
- +
+ ${this.source.slug} +
@@ -100,6 +114,40 @@ export class SCIMSourceViewPage extends LitElement { +
+
+
+
+
+ + +
+
+ +
+ + ${t`Click to copy token`} + +
+
+
+
+
+