Skip to content

Commit

Permalink
chore(console): polish springboot docs
Browse files Browse the repository at this point in the history
polish springboot docs
  • Loading branch information
simeng-li authored and gao-sun committed Jul 1, 2024
1 parent 590a6ec commit 5dd9ede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Now, let's configure your redirect URI. E.g. {`${props.defaultRedirectUri ?? def

<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.defaultLogoutUri ?? '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.defaultSignOutUri ?? 'http://localhost:3000'}`} 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,7 @@ 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" defaultLogoutUri="http://localhost:8080/login/oauth2/code/logto" />
<RedirectUrisWeb defaultUri="http://localhost:8080/login/oauth2/code/logto in Logto sample project" defaultSignOutUri="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 Expand Up @@ -254,7 +254,7 @@ This controller will redirect the user to the user page if the user is authentic

</Step>

<Step title="Get user info">
<Step title="Create the user page">

Create a new controller to handle the user page:

Expand Down

0 comments on commit 5dd9ede

Please sign in to comment.