From a8ae759565d94ebd9d0f758b7eb6efbddf486372 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Mon, 5 Oct 2020 10:39:31 +0200 Subject: [PATCH] docs: add guide for cors --- docs/docs/guides/setting-up-cors.mdx | 5 ++--- docs/sidebar.json | 15 ++++++++++----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/docs/guides/setting-up-cors.mdx b/docs/docs/guides/setting-up-cors.mdx index 8c15fca0b30..10afa6a70ca 100644 --- a/docs/docs/guides/setting-up-cors.mdx +++ b/docs/docs/guides/setting-up-cors.mdx @@ -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: diff --git a/docs/sidebar.json b/docs/sidebar.json index d2f74bd7b4b..b0d720e3dec 100644 --- a/docs/sidebar.json +++ b/docs/sidebar.json @@ -1,5 +1,10 @@ { - "Introduction": ["index", "quickstart", "install", "configuring"], + "Introduction": [ + "index", + "quickstart", + "install", + "configuring" + ], "Concepts": [ "concepts/index", "concepts/terminology", @@ -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", @@ -71,9 +78,7 @@ ] } ], - "Debug & Help": [ - "debug/csrf" - ], + "Debug & Help": ["debug/csrf"], "SDKs": ["sdk"], "Development": ["milestones"], "Further Reading": [