Open Closed

Add cms-kit as separate web-mvc project in angular project #1643


User avatar
0
sergei.gorlovetsky@gmail.com created
  • ABP Framework version: v4.3.0
  • UI type: Angular / MVC
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes

We have angular application with separate Identity server. We want to use the cms-kit module in our project but as the cms-kit module doesn't have angular support still, we want to use cms-kit mvc version in our angular project. The question is "Is it possible we add cms-kit as separate web application in MVC, just like separate Identity server?" We already have separate Identity server in our application, so the main application is in angular and to use cms-kit mvc version, we are finding proper way. Not sure whether we can add the cms-kit module in Identity application or can create new web application for that?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

10 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    if you don't want to create a new application you can add cms-kit to your Identity application. On the other hand you can create a new application.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sergei.gorlovetsky@gmail.com created

    Ok we have added the cms-kit as module in Identity application and set remote service url same as Identity url but it gives following error

    Authorization failed. These requirements were not met: PermissionRequirement: CmsKit.Pages AuthenticationScheme: Identity.Application was challenged. ---------- RemoteServiceErrorInfo ---------- { "code": "Unauthorized", "message": "Unauthorized", "details": null, "data": null, "validationErrors": null }

    We have check the permissions of cms-kit module and all permissions are already set for the user. Can you please help to resolve the issue?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi sergei

    Can you share your full steps?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sergei.gorlovetsky@gmail.com created

    Ok, so here is what we have done

    1. Added below nugget packages in Identity server.

    2. Did below changes in Identity server module

    3. Configured RemoteServices in appsettings.json in Identity server

    After these steps run Identity server, we can see the cms-kit module menu and trying to open Pages, the page is opening but when making call to API to get page records getting Unauthorized error.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can directly reference the domain and ef modules of CMS in the IdentityServer project. Why use API proxy?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sergei.gorlovetsky@gmail.com created

    Can you please let us know how and which CMS modules references we need to add step by step in Identity server and how to enable all feautres of cms-kit?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    HI

    You can try run the add-module command.

    https://docs.abp.io/en/commercial/latest/modules/cms-kit/index#existing-solutions

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sergei.gorlovetsky@gmail.com created

    Hello,

    add-module command adds the module in main solution, we have angular front end and Identity in MVC as seperate project. So how we can add cms-kit module in Identity application?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try to run add-module command in ids project folder?

    If this doesn't work, you can manually add cms-kit-pro package and module dependencies to your project.

    CMS Kit Pro is pre-installed in the startup templates

    You can create a new mvc project to check the code.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 05, 2026, 11:32
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.