Add Authentication to Your Angular PWA

Arjun

Hey Matt,

When I am clicking on Login button, its throwing CORS Error . As follows

Access to XMLHttpRequest at 'https://dev-462579.okta.com… from origin ‘http://localhost:4200’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Please help me solving this.