Using Okta with React App in Typescript

Hi,

I’ve just started looking at Okta however I can’t find Typescript mappings.

Do they exist?

Nothing is available at: npm install @types/okta__okta-react and I keep seeing could not find declaration file.

Any ideas - seems like it would have been solved?

Regards.

No, we do not have types yet. We are working on them though. Here’s a workaround in the meantime. https://github.com/okta/okta-oidc-js/issues/66#issuecomment-394574326

Is there a time line for this?

No, but it has recently gained a higher priority. I’d subscribe to the aforementioned ticket for updates.

5 Feb, higher priority… this is 9 months ago now, still no types. Not good for evaluating the product

1 Like

Our React SDK v4.0.0 has TypeScript support! :star_struck:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.