Skip to content

Commit 0ae0026

Browse files
authored
docs: clarify issuer URL changes (#1651)
* docs: clarify issuer URL changes * chore: synchronize workspaces
1 parent 4fa4b54 commit 0ae0026

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

docs/oauth2-oidc/issuer-url.mdx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,26 @@ title: Change the OAuth2 issuer URL
44
sidebar_label: Change Issuer URL
55
---
66

7-
To change the OAuth2 and OpenID Connect Issuer URL, run the following [Ory CLI](../guides/cli/01_installation.mdx) command:
7+
When your OAuth2 or OpenID Connect client complains that the issuer URL is incorrect, this can have the following reasons:
8+
9+
1. You have misconfigured your OpenID Connect Client. Make sure you are using the correct issuer URL.
10+
2. You connected a custom domain to your Ory Network project before February 20th 2024. In this case, the issuer URL might be
11+
incorrect.
12+
3. You have manually overwritten the issuer URL in your Ory Network Project.
13+
4. You are using more than one custom domain connected to a single Ory Network project.
14+
15+
You can view the issuer URL of your Ory Network project using the [Ory CLI](../guides/cli/01_installation.mdx):
16+
17+
```shell
18+
ory get oauth2-config {project-id} --format json | jq '.urls.self.issuer'
19+
```
20+
21+
Use this value to understand if the server is incorrectly configured or if the client is using the wrong issuer URL. To change the
22+
issuer URL, you can use the [Ory CLI](../guides/cli/01_installation.mdx):
823

924
```shell
1025
ory patch oauth2-config {project-id} \
1126
--replace '/urls/self/issuer="https://auth.myexample.org"'
1227
```
1328

14-
Ideally, this URL is the CNAME domain you have set up for the Ory Network.
29+
Ideally, this URL is the primary custom domain you have set up for the Ory Network.

0 commit comments

Comments
 (0)