Build Mobile Apps with Angular, Ionic 4, and Spring Boot

Biswadeep Basu

Hi Matt,

I tried following the steps mentioned in this tutorial. But I come across a CORS issue, whenever I try to login from the Ionic app. the web app login works perfectly.

I even tried to clone and execute the same set of steps mentioned in your git repo
https://github.com/oktadeve…

But its the same error

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

Sign in error: Error: Unable To Obtain Server Configuration

https://i.stack.imgur.com/y…

I tried updating the src/main/resources/config/application.yml as shown in the below video https://www.youtube.com/wat…

I even tried the @oktadev/schematics plugin https://www.npmjs.com/packa…