Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Jul 1, 2024
1 parent 5c7b105 commit e266780
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export const defaultPostSignOutUri = defaultBaseUrl;
<ExperienceOverview />

<InlineNotification>
In the following steps, we assume your app is running on <code>{defaultBaseUrl}</code>.
In the following steps, we assume your app is running on <code>{props.defaultBaseUrl || defaultBaseUrl}</code>.
</InlineNotification>

Now, let's configure your redirect URI. E.g. {`${props.defaultRedirectUri ?? defaultRedirectUri}`}.
Now, let's configure your redirect URI. E.g. <code>{`${props.defaultRedirectUri || defaultRedirectUri}`}</code>.

<UriInputField name="redirectUris" />

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 <code>{`${props.defaultPostSignOutUri || defaultPostSignOutUri}`}</code> as the post sign-out redirect URI below.

<UriInputField name="postLogoutRedirectUris" />
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ spring.security.oauth2.client.provider.logto.jwk-set-uri=${props.endpoint}oidc/j

<Step title="Setup the redirect URI in Logto">

<RedirectUrisWeb defaultUri="http://localhost:8080/login/oauth2/code/logto in Logto sample project" defaultSignOutUri="http://localhost:8080/login/oauth2/code/logto" />
<RedirectUrisWeb
defaultBaseUrl="http://localhost:8080/"
defaultRedirectUri="http://localhost:8080/login/oauth2/code/logto"
defaultPostSignOutUri="http://localhost:8080/login/oauth2/code/logto"
/>

Make sure the redirect URI in Logto matches the `redirect-uri` set in the `application.properties` file in the previous step.

Expand Down

0 comments on commit e266780

Please sign in to comment.