NullInjectorError: R3InjectorError(AppModule)[OktaAuthGuard -> OktaAuthService -> InjectionToken okta.config.angular -> InjectionToken okta.config.angular -> InjectionToken okta.config.angular]:

enter image description here

it's working fine in angular6 and 8 but while upgrading to angular 10 getting these error...

What to do can any one help me out...

1

There are 1 best solutions below

0
On

You need to import okaauthguard in app.module.ts That's what this error says