Open Closed

Tenant impersonation & User impersonation in Microservice Template #4297


User avatar
0
thedatacrew created

Environment

  • ABP Framework version: v7.0.0-Final
  • UI type: BlazorServer
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Microservice Template
  • Exception message and stack trace: N/A
  • Steps to reproduce the issue:" N/A

Hi,

In the documentation :-

https://docs.abp.io/en/commercial/latest/modules/account/impersonation

Tenant impersonation & User impersonation

User impersonation allows you to temporarily sign in as a different user in your tenant's users. This article introduces how to enable impersonation in ABP Framework. Impersonation is enabled by default in ABP v5.0 and above.**

But it does not show you how to enable it? How exactly do you enable it in v7 & where do I make the changes?

Thanks


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will add documentation for microservice templates.

    I will leave a message after the update.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    https://github.com/abpio/abp-commercial-docs/commit/a79c4840eb7d8f85c007e9748488a0ba625a14b7

  • User Avatar
    0
    thedatacrew created

    I'm not sure I'm following exactly, is it supported or not? There some code comments here for Web but Public Web / Angular / Blazor / Blazor Server is not supported?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Blazor wasm is currently not supported. PublicWeb does not need this feature.

    Other types are supported.

    https://docs.abp.io/en/commercial/latest/modules/account/impersonation#microservice

  • User Avatar
    0
    thedatacrew created

    Thanks,

    Those changes to AuthServer & Blazor have worked for Tenant & User. You may want to updated the document to point out that this applicable for versions above v5 as well. Please could you credit my question back?

    Regards

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11