Using a proxy and Okta with Ondemand issue

Hi,

We have Ondemand running but forwarding ti to the proxy fails.

the proxy is setup fine but

this is the config.yaml file in /etc/ood/dex


issuer: https://ondemand001.xxxx.xxxx.org:5554
storage:
type: sqlite3
config:
file: “/etc/ood/dex/dex.db”
web:
http: 0.0.0.0:5556
https: 0.0.0.0:5554
tlsCert: “/etc/pki/tls/certs/ondemand001xxxxxx.pem”
tlsKey: “/etc/pki/tls/private/ondemand001xxxxxx.key”
telemetry:
http: 0.0.0.0:5558
staticClients:

id: ondemand001.xxxxx.xxxx.org
redirectURIs:

https://ondemand001.nemo.xxxx.org/oidc

https://ondemand-test.nemo.xxxxx.org/oidc
name: OnDemand
secret: 4876cc52-895b-48d4-9f5b-cc0a85c8b3d8
connectors:

type: oidc
id: okta
name: Okta
config:
issuer: https://xxxx.okta.com
clientID: 0oartf08faEEz1O6I417
clientSecret: UMX5D2wIdACCxCHJd28R4xyomHk0E3ilndbSq6igdv2IMJ7sZsC0rksNOGrnXBYs
redirectURI: https://ondemand-test.xxxx.xxxx.org:5554/callback
oidc_scope: openid profile email groups
insecureSkipEmailVerified: true
oauth2:
skipApprovalScreen: true
enablePasswordDB: false
frontend:
dir: “/usr/share/ondemand-dex/web”
theme: ondemand

I should say the proxy server is #proxy_server: ondemand-test.xxxx.xxxx.org

Thanks