Problems with okta & cors in kubernetes

Hi,
not sure what would be the answer to this question:/
in my okta application in okta console I have the following settngs:
Client acting on behalf of a user

x Authorization Code

Refresh Token

x Implicit (Hybrid)

x Allow ID Token with implicit grant type

x Allow Access Token with implicit grant type

Login redirect URIs 

http://localhost:8080/login/oauth2/code/okta	
https://oidcdebugger.com/debug	
http://localhost:4200/redirect	
http://localhost:4200/implicit/callback	
https://frontend.cloud.okteto.net/login/oauth2/code/okta	
https://frontend.cloud.okteto.net/redirect	
https://frontend.cloud.okteto.net/implicit/callback	
https://backend.cloud.okteto.net/login/oauth2/code/okta	

Logout redirect URIs 

http://localhost:4200	
https://frontend.cloud.okteto.net/	

Login initiated by App Only

Initiate login URI http://localhost:8080/login/oauth2/code/okta

As of the angular frontend app I have just used the standard okta angular package and my setup looks like this:

const oktaConfig = {
  issuer: 'https://dev-....okta.com/oauth2/default',
  redirectUri: window.location.origin + '/implicit/callback',
  clientId: '...',
  pkce: false
};

As I said, it works on localhost with both docker and without docker.