Skip to content

Commit 2e325e1

Browse files
authored
Merge pull request #1202 from logto-io/charles-fix-broken-links-in-toturials
fix: broken links in tutorials
2 parents 0c4dd81 + 820d9cc commit 2e325e1

3 files changed

Lines changed: 22 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,22 @@ jobs:
3434
sleep 3
3535
node test-redirects.mjs
3636
37+
main-built-tutorial:
38+
strategy:
39+
matrix:
40+
locale: [en, es, fr, ja]
41+
runs-on: ubuntu-latest
42+
43+
steps:
44+
- uses: actions/checkout@v4
45+
46+
- name: Setup Node and pnpm
47+
uses: silverhand-io/actions-node-pnpm-run-steps@v5
48+
49+
- name: Build
50+
run: |
51+
pnpm build:tutorials --locale ${{ matrix.locale }}
52+
3753
main-lint:
3854
runs-on: ubuntu-latest
3955

docs/integrations/social/oauth2/_integration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ If you want to display a social button on your login page, you can set the **nam
8080

8181
### Identity provider name
8282

83-
Each social connector has a unique Identity Provider (IdP) name to differentiate user identities. While common connectors use a fixed IdP name, custom connectors require a unique value. Learn more about [IdP names](/connectors/connector-data-structure#target-identity-provider-name) for more details.
83+
Each social connector has a unique Identity Provider (IdP) name to differentiate user identities. While common connectors use a fixed IdP name, custom connectors require a unique value. Learn more about [IdP names](https://docs.logto.io/connectors/connector-data-structure#target-identity-provider-name) for more details.
8484

8585
### Sync profile information
8686

@@ -110,11 +110,11 @@ Once you've created an OAuth connector and connected it to your identity provide
110110
1. In Logto Console, go to <CloudLink to="/sign-in-experience/sign-up-and-sign-in">Sign-in experience > Sign-up and sign-in</CloudLink>.
111111
2. Add the OAuth connector under **Social sign-in** section to let users authenticate with your identity provider.
112112

113-
Learn more about [social sign-in experience](/end-user-flows/sign-up-and-sign-in/social-sign-in).
113+
Learn more about [social sign-in experience](https://docs.logto.io/end-user-flows/sign-up-and-sign-in/social-sign-in).
114114

115115
### Link or unlink a social account
116116

117-
Use the Account API to build a custom Account Center in your app that lets signed-in users link or unlink their social accounts. [Follow the Account API tutorial](/end-user-flows/account-settings/by-account-api#link-a-new-social-connection)
117+
Use the Account API to build a custom Account Center in your app that lets signed-in users link or unlink their social accounts. [Follow the Account API tutorial](https://docs.logto.io/end-user-flows/account-settings/by-account-api#link-a-new-social-connection)
118118

119119
:::tip
120120
It's allowed to enable the OAuth connector only for account linking and API access, without enabling it for social sign-in.

docs/integrations/social/oidc/_integration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ If you want to display a social button on your login page, you can set the **nam
9494

9595
### Identity provider name
9696

97-
Each social connector has a unique Identity Provider (IdP) name to differentiate user identities. While common connectors use a fixed IdP name, custom connectors require a unique value. Learn more about [IdP names](/connectors/connector-data-structure#target-identity-provider-name) for more details.
97+
Each social connector has a unique Identity Provider (IdP) name to differentiate user identities. While common connectors use a fixed IdP name, custom connectors require a unique value. Learn more about [IdP names](https://docs.logto.io/connectors/connector-data-structure#target-identity-provider-name) for more details.
9898

9999
### Sync profile information
100100

@@ -124,11 +124,11 @@ Once you've created an OIDC connector and connected it to your identity provider
124124
1. In Logto Console, go to <CloudLink to="/sign-in-experience/sign-up-and-sign-in">Sign-in experience > Sign-up and sign-in</CloudLink>.
125125
2. Add the OIDC connector under **Social sign-in** section to let users authenticate with your identity provider.
126126

127-
Learn more about [social sign-in experience](/end-user-flows/sign-up-and-sign-in/social-sign-in).
127+
Learn more about [social sign-in experience](https://docs.logto.io/end-user-flows/sign-up-and-sign-in/social-sign-in).
128128

129129
### Link or unlink a social account
130130

131-
Use the Account API to build a custom Account Center in your app that lets signed-in users link or unlink their social accounts. [Follow the Account API tutorial](/end-user-flows/account-settings/by-account-api#link-a-new-social-connection)
131+
Use the Account API to build a custom Account Center in your app that lets signed-in users link or unlink their social accounts. [Follow the Account API tutorial](https://docs.logto.io/end-user-flows/account-settings/by-account-api#link-a-new-social-connection)
132132

133133
:::tip
134134
It's allowed to enable the OIDC connector only for account linking and API access, without enabling it for social sign-in.

0 commit comments

Comments
 (0)