Keycloak Gitpod Flask OIDC: oauth2client.client.FlowExchangeError: Invalid response: 301

Solution
OVERWRITE_REDIRECT_URI = "https://flask-app-hostname-gitpod/oidc_callback"
https://flask-app-hostname-gitpod/auth/realms/demo/.well-known/openid-configuration
https://keycloak-hostname-gitpod/auth/realms/demo/protocol/openid-connect/token
ports:
  - port: 5000
    onOpen: open-preview
  - port: 8080