From 237887a368fbcc47c6db161a290950f5f01a9aa1 Mon Sep 17 00:00:00 2001 From: Brandon Treston Date: Fri, 25 Oct 2024 15:18:28 -0400 Subject: [PATCH] Show toast when copying SCIM api key and URL (#11608) --- .../organizations/manage/scim.component.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts b/bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts index 76e3caa145..c900cfe28a 100644 --- a/bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts +++ b/bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts @@ -82,6 +82,11 @@ export class ScimComponent implements OnInit { copyScimUrl = async () => { this.platformUtilsService.copyToClipboard(await this.getScimEndpointUrl()); + this.toastService.showToast({ + message: this.i18nService.t("valueCopied", this.i18nService.t("scimUrl")), + variant: "success", + title: null, + }); }; rotateScimKey = async () => { @@ -114,6 +119,11 @@ export class ScimComponent implements OnInit { copyScimKey = async () => { this.platformUtilsService.copyToClipboard(this.formData.get("clientSecret").value); + this.toastService.showToast({ + message: this.i18nService.t("valueCopied", this.i18nService.t("scimApiKey")), + variant: "success", + title: null, + }); }; submit = async () => {