I’m using Angular 7, styling with material, and am following this guide: https://developer.okta.com/quickstart/#/angular/dotnet/aspnetcore
. I have everything wired correctly, and it works, but I’m having one issue.
- I am not logged in, and I’m redirected to my
https://devurl.okta.com/login/login.htm?fromURI=/oauth2/v1/authorize/redirect?okta_key=Iasdf
- I enter my credentials, and then I’m redirected to my callback url,
https://localhost:4200/implicit/callback#id_token=...
- which then sends me back to my home page of my app:
https://localhost:4200/home
, but then I have a really weird styling issues. The only thing that fixes it is a refresh of the page.
How do I prevent the weird styling issue? Or is there a work-around? Like refreshing the page programatically? Thanks