Skip to content

Incompatible with Umbraco Cloud's Umbraco ID Auth Package.Β #41

@BenDuguid-MRM

Description

@BenDuguid-MRM

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 assembly Microsoft.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions