# How to update Generic OIDC redirect\_uri from http to https

**URL:** <https://forum.ansible.com/t/how-to-update-generic-oidc-redirect-uri-from-http-to-https/44607>\
**Category:** Get Help\
**Tags:** kubernetes, uri, awx\
**Created:** [October 3, 2025, 2:48pm UTC](https://forum.ansible.com/t/how-to-update-generic-oidc-redirect-uri-from-http-to-https/44607 "2025-10-03T14:48:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![farrare22](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/farrare22/32/9581_2.png) [@farrare22](https://forum.ansible.com/u/farrare22)\
**Post date:** [October 3, 2025, 2:48pm UTC](https://forum.ansible.com/t/how-to-update-generic-oidc-redirect-uri-from-http-to-https/44607/1 "2025-10-03T14:48:19Z")

</div>

Hello. I’m relatively new to AWX and am attempting to configure Generic OIDC. I’ve worked with my auth team to get the OIDC Key, Secret, and Provider URL configured. When I try to login to, I get an error: `Invalid redirect_uri`. I can manually update the uri in the request which then completes and provides the login page.

The call is `https://auth.sso.MYDOMAIN.com/fss/as/authorization.oauth2?client_id=MYCLIENTID&redirect_uri=http://MYSERVER/sso/complete/oidc/&state=SNIP&response_type=code&nonce=SNIP&scope=openid+profile+email`. If I change the redirect\_uri from _http_ to _https_, then it works fine.

I have set the “Base URL of the service” in the Miscellaneous System Settings to `https://MYSERVER`, but this doesn’t seem to be picked up and used in the OIDC call.

This is running in a test environment with minikube and an nginx server running on the VM configured with proxy\_pass to an upstream backend that provides the SSL offloading.

```auto
$ cat kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  # Find the latest tag here: https://github.com/ansible/awx-operator/releases
  - github.com/ansible/awx-operator/config/default?ref=2.19.1
  - awx-finit.yaml

# Set the image tags to match the git version from above
images:
  - name: quay.io/ansible/awx-operator
    newTag: 2.19.1

# Specify a custom namespace in which to install AWX
namespace: awx

$ cat awx-finit.yaml
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx-finit
spec:
  service_type: nodeport
  bundle_cacert_secret: awx-ssl-ca-custom

```

Any help on how to update/fix the redirect\_uri to use https would be greatly appreciated.  
Thanks,  
Ed
