Open Closed

How to migrate Angular Ui from Identity Server to OpenIdDict #4374


0
Repunjay created

How to migrate Angular Ui from Identity Server to OpenIdDict

https://docs.abp.io/en/commercial/6.0/migration-guides/openIddict-angular is not given all steps to migrate from Identity Server to OpenIdDict, please provide the detailed migration guide.

How to update all the required packages of Identity Server to OpenIdDict in Angular App?

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.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

5 Answer(s)
  • 0
    maliming created
    Support Team

    hi

    There are detailed steps.

    https://docs.abp.io/en/commercial/6.0/migration-guides/openIddict-step-by-step

  • 0
    Repunjay created

    hi

    There are detailed steps.

    https://docs.abp.io/en/commercial/6.0/migration-guides/openIddict-step-by-step

    Hi,

    followed that guide for my Microservices Solution, For Angular Project, they mentioned only the change in "environment.ts" file, need to change the issuer url only as below. remaining all about backend core apis microservices solution.

    but in Angular there is reference packages for Identity Server, saas, Lepton, Audilogs in "Package.json" and in other modules also, how to change those to OpenIdDict? (below are my Angular app reference screen shots)

  • 0
    muhammedaltug created
    Support Team

    Hello,

    You need to update the angular version to 14. ABP 6.0 version works with angular 14. You can update with ng update command.

    Also you need to install @volo/abp.ng.openiddictpro package.

  • 0
    Repunjay created

    Hello,

    You need to update the angular version to 14. ABP 6.0 version works with angular 14. You can update with ng update command.

    Also you need to install @volo/abp.ng.openiddictpro package.

    1. How to install @volo/abp.ng.openiddictpro package?
    2. Could you please provide complete step by step migration guide for this (I didn't read abp 6 needs Angular 14 version).
    3. Which Packages I need to remove from this to work with OpenIdDict?

  • 0
    muhammedaltug created
    Support Team

    Hello,

    You can install it by running yarn add @volo/[email protected] command.

    You can remove @volo/ng.abp.identity-server package.

    Steps for updating ABP 6.0 version