Hello @shirukento1,
You might check some of the solutions over in this thread: Getting 401 error while calling spring-boot api from angular app - #17 by mraible
Essentially, I’d make sure that the callback route is correctly configured, and if you are passing through OktaAuthGuard you can check for errors there: GitHub - okta/okta-angular: Angular SDK for Okta's OIDC flow - this could be something you need to use to access a protected route using the ID Token, so if you aren’t using this it may be a good idea. In the case of the above post it was removed to resolve the situation, which indicates it’s not a protected route using that function and possibly that the ID Token check is coming from somewhere else.