Oidc_redirect_uri in ood_portal.yml file has no effect

My oidc configuration on ood_portal.yml looks something like this -

oidc_uri: “/oidc”
oidc_provider_metadata_url: “https://cilogon.org/.well-known/openid-configuration
oidc_remote_user_claim: “subject_id ^(.*)@”
oidc_scope: “openid email profile org.cilogon.userinfo”
oidc_redirect_uri: “https://clusterod1.ncsa.illinois.edu/oidc/redirect/

But after running /opt/ood/ood-portal-generator/sbin/update_ood_portal, the redirect line in my ood-portal.conf file looks like this -

OIDCRedirectURI https://clusterod1.ncsa.illinois.edu/oidc

Checking /opt/ood/ood-portal-generator/templates/ood-portal.conf.erb, it looks like the oidc_redirect_uri line should be parsed, but no matter what value I provide, I always end up with the default.

How do I specify the redirect?

Hi and welcome!

There is no option for oidc_redirect_uri, you’ve configured it there, but we don’t use it.

OIDCRedirectURI is a computed variable:


So what you want to do is set oidc_uri to /oidc/redirect/.