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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00