From 8f914ede7bc3dbb150bb3d1625d3fbd3679f427d Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Tue, 2 Jul 2024 12:00:24 +0800 Subject: [PATCH] fix(console): fix broken api resource guides --- .../console/src/assets/docs/guides/api-python/README.mdx | 4 +--- .../src/assets/docs/guides/api-spring-boot/README.mdx | 8 +++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/console/src/assets/docs/guides/api-python/README.mdx b/packages/console/src/assets/docs/guides/api-python/README.mdx index 313af49f7ed..e132e284aba 100644 --- a/packages/console/src/assets/docs/guides/api-python/README.mdx +++ b/packages/console/src/assets/docs/guides/api-python/README.mdx @@ -41,12 +41,10 @@ pip install python-jose[ecdsa] ### Retrieve Logto's OIDC configurations -

You will need a JWK public key set and the token issuer to verify the signature and source of the received JWS token. -All the latest public Logto Authorization Configurations can be found at {appendPath(props.endpoint, '/oidc/.well-known/openid-configuration')}. +All the latest public Logto Authorization Configurations can be found at {appendPath(props.endpoint, '/oidc/.well-known/openid-configuration')}. e.g. You can locate the following two fields in the response body if you request the above endpoint. -

{`{ diff --git a/packages/console/src/assets/docs/guides/api-spring-boot/README.mdx b/packages/console/src/assets/docs/guides/api-spring-boot/README.mdx index 16bbfb7250b..3ffbb286cc1 100644 --- a/packages/console/src/assets/docs/guides/api-spring-boot/README.mdx +++ b/packages/console/src/assets/docs/guides/api-spring-boot/README.mdx @@ -51,11 +51,9 @@ and signed with [JWK](https://datatracker.ietf.org/doc/html/rfc7517) Before moving on, you will need to get an issuer and a JWKS URI to verify the issuer and the signature of the Bearer Token (`access_token`). -

- All the Logto Authorization server configurations can be found by requesting{' '} - {appendPath(props.endpoint, '/oidc/.well-known/openid-configuration')}, including the{' '} - issuer, jwks_uri and other authorization configs. -

+All the Logto Authorization server configurations can be found by requesting{' '} +{appendPath(props.endpoint, '/oidc/.well-known/openid-configuration')}, including the{' '} +issuer, jwks_uri and other authorization configs. An example of the response: