Okta-oidc-js vs okta-auth-js difference

Hello,

I see two different repository regarding okta javascript library.
okta-auth-js: GitHub - okta/okta-auth-js: The official js wrapper around Okta's auth API
okta-oidc-js: GitHub - okta/okta-oidc-js: okta-oidc-js

What is the difference of these two? I would like to use these library for my SPA using PKCE. Which library should I explore? Thank you!

okta-oidc-js is a monorepo, containing multiple packages/libraries. We’re working to break these packages out of the mono repo because its a little confusing/messy having it set up this way. Suffice to say, it is not really a separate JS library unto itself.

For your SPA, you will want to use either okta-auth-js, or, if you are using the associated framework, okta-angular, okta-react, or okta-vue

Thank you. Super helpful.

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