CORS issue remain after adding origin


#1

Hello,

I added my app’s base URL (http://localhost:8080 and http://ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com:3000/) to the list of trusted origins and checked both “CORS” and “Redirect” options, but I still get CORS issues. Does anyone know if there are additional steps I need to take?

Thank you.


#2

Hey!
What type of app are you building? Are you using one of our integrations?
Is your backend running on AWS and your frontend running locally?


#3

Hi - I am building a simple CRUD app. I am not using the okta libraries to do the authentication (they give me CORS issues). The app has a backend component to serve the html + js files. But all the calls to okta are being done on the front end. Thanks!


#4

@jtn1490,

Let’s take a step back. It sounds like are running into CORS issues with both Okta integrations and your custom code? Which APIs are you calling? Are you doing an implicit OAuth 2.0 flow? What type of application have you created in your Okta Console?
Your best bet might be to follow the getting started guide. That will get you set up with an application configured to run on localhost:8080.

Keep us posted!
-Brian