Skip to content

Commit

Permalink
docs: fix oidc config examples (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
znerol authored Oct 29, 2020
1 parent 83eb4e0 commit 8a4f480
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ To set up "Sign in with Discord" you must create a [Discord OAuth2 Application](
Set the "Redirect URI" to:
```
http://127.0.0.1:4455/.ory/kratos/public/self-service/browser/flows/strategies/oidc/callback/discord
http://127.0.0.1:4433/self-service/methods/oidc/callback/discord
```

The pattern of this URL is:

```
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/browser/flows/strategies/oidc/callback/<provider-id>
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/methods/oidc/callback/<provider-id>
```

The provider ID must point to the provider's ID set in the ORY Kratos
Expand Down Expand Up @@ -110,7 +110,7 @@ Now, enable the Discord provider in the ORY Kratos config located at
```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
strategies:
methods:
oidc:
enabled: true
config:
Expand Down Expand Up @@ -225,13 +225,13 @@ To set up "Sign in with GitLab" you must create a [GitLab OAuth2 Application](ht
Set the "Redirect URI" to:
```
http://127.0.0.1:4455/.ory/kratos/public/self-service/browser/flows/strategies/oidc/callback/gitlab
http://127.0.0.1:4433/self-service/methods/oidc/callback/gitlab
```

The pattern of this URL is:

```
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/browser/flows/strategies/oidc/callback/<provider-id>
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/methods/oidc/callback/<provider-id>
```

:::note
Expand Down Expand Up @@ -266,7 +266,7 @@ Now, enable the GitLab provider in the ORY Kratos config located at
```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
strategies:
methods:
oidc:
enabled: true
config:
Expand Down Expand Up @@ -377,13 +377,13 @@ To set up "Sign in with Twitch" you must create a [Twitch OAuth2 Application](ht
Set the "Redirect URI" to:

```
http://127.0.0.1:4455/.ory/kratos/public/self-service/browser/flows/strategies/oidc/callback/twitch
http://127.0.0.1:4433/self-service/methods/oidc/callback/twitch
```

The pattern of this URL is:

```
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/browser/flows/strategies/oidc/callback/<provider-id>
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/methods/oidc/callback/<provider-id>
```

The provider ID must point to the provider's ID set in the ORY Kratos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ To set up "Sign in with Discord" you must create a [Discord OAuth2 Application](
Set the "Redirect URI" to:
```
http://127.0.0.1:4455/.ory/kratos/public/self-service/browser/flows/strategies/oidc/callback/discord
http://127.0.0.1:4433/self-service/methods/oidc/callback/discord
```

The pattern of this URL is:

```
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/browser/flows/strategies/oidc/callback/<provider-id>
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/methods/oidc/callback/<provider-id>
```

The provider ID must point to the provider's ID set in the ORY Kratos
Expand Down Expand Up @@ -110,7 +110,7 @@ Now, enable the Discord provider in the ORY Kratos config located at
```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
strategies:
methods:
oidc:
enabled: true
config:
Expand Down Expand Up @@ -225,13 +225,13 @@ To set up "Sign in with GitLab" you must create a [GitLab OAuth2 Application](ht
Set the "Redirect URI" to:
```
http://127.0.0.1:4455/.ory/kratos/public/self-service/browser/flows/strategies/oidc/callback/gitlab
http://127.0.0.1:4433/self-service/methods/oidc/callback/gitlab
```

The pattern of this URL is:

```
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/browser/flows/strategies/oidc/callback/<provider-id>
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/methods/oidc/callback/<provider-id>
```

:::note
Expand Down Expand Up @@ -266,7 +266,7 @@ Now, enable the GitLab provider in the ORY Kratos config located at
```yaml title="contrib/quickstart/kratos/email-password/.kratos.yml"
# $ kratos -c path/to/my/kratos/config.yml serve
selfservice:
strategies:
methods:
oidc:
enabled: true
config:
Expand Down Expand Up @@ -377,13 +377,13 @@ To set up "Sign in with Twitch" you must create a [Twitch OAuth2 Application](ht
Set the "Redirect URI" to:

```
http://127.0.0.1:4455/.ory/kratos/public/self-service/browser/flows/strategies/oidc/callback/twitch
http://127.0.0.1:4433/self-service/methods/oidc/callback/twitch
```

The pattern of this URL is:

```
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/browser/flows/strategies/oidc/callback/<provider-id>
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/methods/oidc/callback/<provider-id>
```

The provider ID must point to the provider's ID set in the ORY Kratos
Expand Down

0 comments on commit 8a4f480

Please sign in to comment.