Angular + Okta problem Sign-in on AWS

I can see that a lot of topics are that Okta work in local but it is not working on the production (like these:
No okta-token-storage nor okta-original-uri-storage when user is signed in)? Please, could you tell me, does Okta wok on AWS or not? Could you try that? Maybe, the problem is on the Okta? If not, could you tell me what I need to setup additionally? In all questions on the forum you did not give a solution for the problem sign-in?