Open Closed

Integrate into existing IdentityServer instance #874


User avatar
0
dweinand created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2.0
  • UI type: Angular / MVC
  • DB provider: EF Core / PostgreSQL
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Is there any documentation on how to use an existing IdentityServer 4 installation? Basically we want to integrate an existing installation on our end into abp. Integrate in terms of handling authentication, but as well using the the abp administration module. Sorry if this is documented somewhere and I missed it. We are just getting started and currently are a bit overwhelmed in digesting everyting available.


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

    hi

    Basically only the authentication code needs to be changed. The identity server itself is an independent service.

    https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/MyProjectNameHttpApiHostModule.cs#L98-L107

    According to your project you can also UseJwtTokenMiddleware

    https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/MyProjectNameWebModule.cs#L226

  • 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.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11