Connecting to Okta from Angular

First time using Okta, I have a problem with connecting to Okta from Angular http://localhost:4200 has been blocked by CORS policy:Should I add it to trusted origin? Because I already added it to the application URLs but I still have this problem,

What’s the error you’re seeing? Can you post a stacktrace (from your browser’s console) or a screenshot?

If you want a shortcut to a working app, install the Okta CLI, run okta login to connect to your account, then run okta start angular to download and configure an Angular example.

Here’s a video that’s shows what it looks like.

1 Like