Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

824
Views
Cannot use namespace "OktaAuthService" as a type

Module '"../../../../node_modules/@okta/okta-angular/okta-angular"' has no exported member 'OktaAuthService'

I have a problem implementing Okta in my Angular project

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

I'm guessing you were using Okta Angular 4.0 when you encountered this error. In 4.0, OktaAuthService was replaced with OktaAuth from the okta-auth-js library. See the Okta Angular 3.x to 4.x migration guide for changes.

I migrated one of our Angular samples this week. This PR will help you see the changes necessary.

over 4 years ago · Santiago Trujillo Report

0

I found the solution. The problem was a confliction of versions between angular and Okta; Just downgraded Okta version like this:

"@okta/okta-angular": "^3.2.2", "@okta/okta-signin-widget": "^5.10.1",

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!