-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Umbraco Cloud sites use the Umbraco.Cloud.Identity.CMS package which references a rather old version of Microsoft.Identity.Web - for v13, that's >= 1.25.9
, and v14 it's >= 1.26.0
Dropping in a version 2 release of Microsoft.Identity.Web (such as 2.21.1 used here) results in the following Exception:
TypeLoadException: Could not load type
Microsoft.Identity.Web.MicrosoftIdentityOptions
from assemblyMicrosoft.Identity.Web, Version=2.21.1.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae
.
Removing the Umbaco.Cloud.Identity.CMS reference allows the site to load and AD auth to continue, but (obviously) removes the ability to log in via the Umbraco ID accounts (required for the support team, etc.).
I'll raise this with the Umbraco Cloud team as well, as I'm not sure why they've stuck with a version of the package that mainly targets .Net 5.0, but flagging here for others.