I have Angular 4 app, trying to implement okta so followed the instructions found in sample example here. The example application works fine but in my application it fails loading all the assets needed for my app.
I was able to reproduce same issue by changing the base url to dynamic in example application as well. In index.html change the base url to below …
<!-- base url --> <base href="./">
It got stuck here
If I look in developer tools I found that the URL it looking for assets is wrong …
Request URL: http://localhost:4200/implicit/assets/css/bootstrap.min.css
GET http://localhost:4200/implicit/polyfills.bundle.js 404 (Not Found)
It should be
Request URL: http://localhost:4200/assets/css/bootstrap.min.css
GET http://localhost:4200/polyfills.bundle.js 404 (Not Found)
Please let me know what I am missing here to load my application successfully after the okta authentication callback.