I figured it out. I only had CORS allowed on http://localhost:8000 in the Okta developer dashboard. Once I specified the Origin URL of my web app everything worked as intended.
For anyone experiencing the same issue, this should help:
https://developer.okta.com/docs/guides/enable-cors/main/