From e266780089867a4497e5a3fda595ff260a12d03b Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Mon, 1 Jul 2024 21:31:19 +0800 Subject: [PATCH] chore: fix typos --- .../src/assets/docs/fragments/_redirect-uris-web.mdx | 6 +++--- .../src/assets/docs/guides/web-java-spring-boot/README.mdx | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/console/src/assets/docs/fragments/_redirect-uris-web.mdx b/packages/console/src/assets/docs/fragments/_redirect-uris-web.mdx index fdef951ad22..24b1de8da35 100644 --- a/packages/console/src/assets/docs/fragments/_redirect-uris-web.mdx +++ b/packages/console/src/assets/docs/fragments/_redirect-uris-web.mdx @@ -10,13 +10,13 @@ export const defaultPostSignOutUri = defaultBaseUrl; - In the following steps, we assume your app is running on {defaultBaseUrl}. + In the following steps, we assume your app is running on {props.defaultBaseUrl || defaultBaseUrl}. -Now, let's configure your redirect URI. E.g. {`${props.defaultRedirectUri ?? defaultRedirectUri}`}. +Now, let's configure your redirect URI. E.g. {`${props.defaultRedirectUri || defaultRedirectUri}`}. -Just like signing in, users should be redirected to Logto for signing out of the shared session. Once finished, it would be great to redirect the user back to your website. For example, add {`${props.defaultSignOutUri ?? 'http://localhost:3000'}`} as the post sign-out redirect URI below. +Just like signing in, users should be redirected to Logto for signing out of the shared session. Once finished, it would be great to redirect the user back to your website. For example, add {`${props.defaultPostSignOutUri || defaultPostSignOutUri}`} as the post sign-out redirect URI below. diff --git a/packages/console/src/assets/docs/guides/web-java-spring-boot/README.mdx b/packages/console/src/assets/docs/guides/web-java-spring-boot/README.mdx index c9699e2a853..21ef3864617 100644 --- a/packages/console/src/assets/docs/guides/web-java-spring-boot/README.mdx +++ b/packages/console/src/assets/docs/guides/web-java-spring-boot/README.mdx @@ -79,7 +79,11 @@ spring.security.oauth2.client.provider.logto.jwk-set-uri=${props.endpoint}oidc/j - + Make sure the redirect URI in Logto matches the `redirect-uri` set in the `application.properties` file in the previous step.