打开 关闭

User Login Issue between Multiple Applications using same Auth Server #6426


User avatar
0
kbalashanmugam 创建
  • ABP Framework version: v7.2.2
  • UI Type: Custom (React)
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Yes (Separate Auth Server)

Issue: We are using Microservice Template from ABP Commercial and we have 2 front-end applications setup to use same Auth Server in back-end. One front-end application is a client-facing portal and the other application is a portal used by internal staff for a client.

We noticed that if a user is logged in to the client portal (Application A), the same user can access the internal portal (Application B) without having to login. This is a security issue as we need to ensure users for each application are separate and a user can login to only the application they have logged in with and not be automatically logged in to the other application.

Expected: Users logged in with client portal (Application A) should not be able to access the internal portal (Application B) and automatically logged in.

Please provide solution for this.


1 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    use same Auth Server in back-end.

    This is what AuthServer( Single Sign-On) is designed for. You can't disable this behavior.

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