Skip to content

Commit

Permalink
docs: add guide for cors
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 13, 2020
1 parent 20a2d30 commit a8ae759
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
5 changes: 2 additions & 3 deletions docs/docs/guides/setting-up-cors.mdx
Expand Up @@ -3,9 +3,8 @@ id: setting-up-cors
title: Setting up Cross-origin resource sharing (CORS)
---

ORY Kratos' Public API supports CORS out of the box. A reference for this
configuration can be found in the
[Configuration Reference](../reference/configuration.md).
ORY Kratos' Public API supports CORS out of the box. A reference for this configuration
can be found in the [Configuration Reference](../reference/configuration.md).

For CORS to work properly, we encourage to set the following values:

Expand Down
15 changes: 10 additions & 5 deletions docs/sidebar.json
@@ -1,5 +1,10 @@
{
"Introduction": ["index", "quickstart", "install", "configuring"],
"Introduction": [
"index",
"quickstart",
"install",
"configuring"
],
"Concepts": [
"concepts/index",
"concepts/terminology",
Expand Down Expand Up @@ -32,7 +37,9 @@
"self-service/flows/2fa-mfa-multi-factor-authentication",
"self-service/hooks"
],
"Administration": ["admin/managing-users-identities"],
"Administration": [
"admin/managing-users-identities"
],
"Guides": [
"guides/sign-in-with-github-google-facebook-linkedin",
"guides/react-native-login-registration",
Expand Down Expand Up @@ -71,9 +78,7 @@
]
}
],
"Debug & Help": [
"debug/csrf"
],
"Debug & Help": ["debug/csrf"],
"SDKs": ["sdk"],
"Development": ["milestones"],
"Further Reading": [
Expand Down

0 comments on commit a8ae759

Please sign in to comment.