Open Closed

Angular OAuth error after upgrading to ABP 7.0.0 #4303


User avatar
1
svote created

After upgrading to 7.0.0 we cannot start our angular application anymore. We followed the steps from the following case and it seams that the application start after updating the named files. (https://support.abp.io/QA/Questions/4219/In-the-microservice-solution-of-v700-rc4-you-cannot-start-the-angular-application)

But we still receive the following error at the startup:

NullInjectorError: R3InjectorError(AppModule)[ApplicationInitStatus -> InjectionToken Application Initializer -> [object Object] -> LinkLoginHandler -> IdentityLinkLoginService -> OAuthService -> OAuthService -> OAuthService]: NullInjectorError: No provider for OAuthService!

  • ABP Framework version: v7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: NullInjectorError: R3InjectorError(AppModule)[ApplicationInitStatus -> InjectionToken Application Initializer -> [object Object] -> LinkLoginHandler -> IdentityLinkLoginService -> OAuthService -> OAuthService -> OAuthService]: NullInjectorError: No provider for OAuthService!

1 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    There were breaking changes in V7.0. OAuth codes were relocated to new packages. Here you can check the angular section https://github.com/abpframework/abp/pull/15337/files?short_path=e56244f#diff-e56244fece49a709a76bf89ab104f8ebea9da142d8952faa2e1e33edb4379c18

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