NodeJS Express Okta SSO with PKCE

Hey there, I am pretty new to OKTA in general, but not to JavaScript.

I am currently building a React / Express web app and I am using PKCE for the auth. The redirects from and to the SSO portal works fine with the okta-react lib, but I am not sure how to continue from there and which libraries to use in which way.
I read a lot about verifying tokens, but all i get from the SSO portal are a code and a state query parameter, so I am unsure how to proceed.

I searched all the docs I could locate, but wasn’t able to find anything helpful for my use-case.

Any kind of help would be greatly appreciated.


Are you trying to do the authentication in React or Express? Here’s a recent blog post that shows how to connect the two and do authentication in React.