Change the OAuth2 issuer URL
To change the OAuth2 and OpenID Connect Issuer URL, run the following Ory CLI command:
ory patch oauth2-config {project-id} \
--replace '/urls/self/issuer="https://auth.myexample.org"'
Ideally, this URL is the CNAME domain you have set up for the Ory Network.