
TahirH.45812 (Customer) asked a question.
We are using the
“@okta/okta-auth-js”: “5.4.1”
Getting the below error while running the project.
TypeScript error in
Web/ClientApp/node_modules/@okta/okta-auth-js/lib/index.d.ts(24,10):'from' expected. TS1005
22 | export * from './AuthStateManager';
23 | export * from './util'; >
24 | export * as crypto from './crypto';
| ^
25 |
Can some help here.

Hello Tahir Hussain
Thanks for posting.
Here is a document about Okta Auth JavaScript SDK with all general information and Configuration:
https://www.npmjs.com/package/@okta/okta-auth-js
To get better assistance, I suggest you to post this question on our Okta Developer Forums: https://devforum.okta.com, this is a place for the Okta developer community to interact.
Let us know if this helps you.
Daniela Chavarria.
Okta Inc.
Already posted 1 week back.
https://devforum.okta.com/t/okta-oauth-crypto-error/18585
No response.
Please help
Tahir