0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

chore(console): polish springboot docs

polish springboot docs
This commit is contained in:
simeng-li 2024-06-30 18:36:07 +08:00
parent 5326c302dc
commit 85bd203c7d
No known key found for this signature in database
GPG key ID: 14EA7BB1541E8075
2 changed files with 3 additions and 3 deletions

View file

@ -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" />

View file

@ -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.
@ -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: