I was following this blog for authenticating my spring boot server with Okta
this used thymeleaf as UI so my UI was also on the same port as my server, but in actual scenario I have angular application as my UI (client) when I tried getting access token by making a request at https://dev-519045.okta.com/oauth2/default/v1/token
I got CORS issues.
Can someone help me and give an example/blogpost where my authentication is handled by spring boot and UI will be angular having issues with okta integeration, I want minimum configurations on UI side.
any lead will be appreciated