From 8b323e67c1e286aa15d7d16b6756f3a3c052b35d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 15 Aug 2022 16:58:16 -0400 Subject: [PATCH] parse user active path as string value (#2193) --- bitwarden_license/src/Scim/Controllers/v2/UsersController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitwarden_license/src/Scim/Controllers/v2/UsersController.cs b/bitwarden_license/src/Scim/Controllers/v2/UsersController.cs index 372338054..ff650c64e 100644 --- a/bitwarden_license/src/Scim/Controllers/v2/UsersController.cs +++ b/bitwarden_license/src/Scim/Controllers/v2/UsersController.cs @@ -232,7 +232,8 @@ namespace Bit.Scim.Controllers.v2 // Active from path if (operation.Path?.ToLowerInvariant() == "active") { - var handled = await HandleActiveOperationAsync(orgUser, operation.Value.GetBoolean()); + var active = operation.Value.ToString()?.ToLowerInvariant(); + var handled = await HandleActiveOperationAsync(orgUser, active == "true"); if (!operationHandled) { operationHandled = handled;