@logto/connector-google 1.0.0-beta.12 → 1.0.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -70,7 +70,7 @@ Now you should have the Google OAuth 2.0 consent screen configured.
70
70
  - On the **Create OAuth client ID** page, select **Web application** as the application type.
71
71
  - Fill out the basic information for your application.
72
72
  - Click **+ Add URI** to add an authorized domain to the **Authorized JavaScript origins** section. This is the domain that your logto authorization page will be served from. In our case, this will be `${your_logto_origin}`. e.g.`https://logto.dev`.
73
- - Click **+ Add URI** in the ****Authorized redirect URIs**** section to set up the ****Authorized redirect URIs****, which redirect the user to the application after logging in. In our case, this will be `${your_logto_endpoint}/callback/google-universal`. e.g. `https://logto.dev/callback/google-universal`.
73
+ - Click **+ Add URI** in the ****Authorized redirect URIs**** section to set up the ****Authorized redirect URIs****, which redirect the user to the application after logging in. In our case, this will be `${your_logto_endpoint}/callback/${connector_id}`. e.g. `https://logto.dev/callback/${connector_id}`. The `connector_id` can be found on the top bar of the Logto Admin Console connector details page.
74
74
  - Click **Create** to finish and then you will get the **Client ID** and **Client Secret**.
75
75
 
76
76
  ### Config types
@@ -127,7 +127,7 @@ Now you should have the Google OAuth 2.0 consent screen configured.
127
127
  - 在「创建 OAuth 客户端 ID」页面内,将「应用类型」设置为「Web 应用」。
128
128
  - 填写相关的应用基本信息。
129
129
  - 在「已获授权的 JavaScript 来源」中,点击「+ 添加URI」,该 URI 值为你所部署的 Logto 服务的地址。此处这个值应为 `${your_logto_origin}`。例如:`https://logto.dev`。
130
- - 在「已获授权的重定向 URI」中,点击「+ 添加URI」以添加「已获授权的重定向 URI」。「已获授权的重定向 URI」将在用户使用 Google 帐号成功登录 Logto 后将用户重定向回你的应用。此处这个值应为 `${your_logto_endpoint}/callback/google-universal`。例如:`https://logto.dev/callback/google-universal`。
130
+ - 在「已获授权的重定向 URI」中,点击「+ 添加URI」以添加「已获授权的重定向 URI」。「已获授权的重定向 URI」将在用户使用 Google 帐号成功登录 Logto 后将用户重定向回你的应用。此处这个值应为 `${your_logto_endpoint}/callback/${connector_id}`。`connector_id` 在管理控制台相应连接器的详情页的顶栏中可以找到。例如:`https://logto.dev/callback/${connector_id}`。
131
131
  - 点击「创建」后,你将获得「客户端 ID」(Client ID)和「客户端密钥」(Client Secret)。
132
132
 
133
133
  ### 配置类型