Umbraco.Community.MemberLogin
4.0.3
dotnet add package Umbraco.Community.MemberLogin --version 4.0.3
NuGet\Install-Package Umbraco.Community.MemberLogin -Version 4.0.3
<PackageReference Include="Umbraco.Community.MemberLogin" Version="4.0.3" />
<PackageVersion Include="Umbraco.Community.MemberLogin" Version="4.0.3" />
<PackageReference Include="Umbraco.Community.MemberLogin" />
paket add Umbraco.Community.MemberLogin --version 4.0.3
#r "nuget: Umbraco.Community.MemberLogin, 4.0.3"
#:package Umbraco.Community.MemberLogin@4.0.3
#addin nuget:?package=Umbraco.Community.MemberLogin&version=4.0.3
#tool nuget:?package=Umbraco.Community.MemberLogin&version=4.0.3
Umbraco.Community.MemberLogin
Sign in to the front-end as a member from the Umbraco 17 backoffice. Adds a "Login as Member" action to members, lets you pick a culture and a redirect page, and opens the front-end in a new tab logged in as that member.
Install
dotnet add package Umbraco.Community.MemberLogin
Usage
In the Members section, open a member's actions menu and choose Login as Member. The action is only visible to backoffice users with access to sensitive data.
Optionally pick a culture (shown when the site has more than one language) and a published redirect page. On confirm, a new browser tab opens at that page (or the site root) authenticated as the member. Your backoffice tab is left untouched.
How it works
- A backoffice-authenticated management API endpoint signs the member in using
IMemberSignInManagerand resolves the redirect URL withIPublishedUrlProvider. - The backoffice extension (entity action + modal) calls that endpoint through a
generated OpenAPI client and opens the returned URL with
window.open(url, '_blank').
Development
Frontend lives in src/Umbraco.Community.MemberLogin/Client (Vite + TypeScript).
cd src/Umbraco.Community.MemberLogin/Client
npm install
npm run build # emits to ../wwwroot/App_Plugins/MemberLogin
Regenerate the OpenAPI client against a running host that references the package:
npm run generate-client -- https://<host>/umbraco/swagger/member-login/swagger.json
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Umbraco.Cms.Api.Common (>= 17.0.2)
- Umbraco.Cms.Api.Management (>= 17.0.2)
- Umbraco.Cms.Web.Common (>= 17.0.2)
- Umbraco.Cms.Web.Website (>= 17.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.