Skip to content

Commit 5c239d9

Browse files
kylemacLekoArts
andauthored
fix(types): Update docsUrl for social auth providers (#2817)
* update social provider docsUrl paths we updated the paths for these, and while we have redirects from their old urls there's SEO value in making these fully accurate and avoiding redirection * Create purple-ligers-wave.md --------- Co-authored-by: Lennart <lekoarts@gmail.com>
1 parent a388dde commit 5c239d9

File tree

2 files changed

+30
-25
lines changed

2 files changed

+30
-25
lines changed

.changeset/purple-ligers-wave.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clerk/types": patch
3+
---
4+
5+
Update social provider `docsUrl` entries to point to new URLs

packages/types/src/oauth.ts

+25-25
Original file line numberDiff line numberDiff line change
@@ -69,49 +69,49 @@ export const OAUTH_PROVIDERS: OAuthProviderData[] = [
6969
provider: 'google',
7070
strategy: 'oauth_google',
7171
name: 'Google',
72-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-google',
72+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/google',
7373
},
7474
{
7575
provider: 'discord',
7676
strategy: 'oauth_discord',
7777
name: 'Discord',
78-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-discord',
78+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/discord',
7979
},
8080
{
8181
provider: 'facebook',
8282
strategy: 'oauth_facebook',
8383
name: 'Facebook',
84-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-facebook',
84+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/facebook',
8585
},
8686
{
8787
provider: 'twitch',
8888
strategy: 'oauth_twitch',
8989
name: 'Twitch',
90-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-twitch',
90+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitch',
9191
},
9292
{
9393
provider: 'twitter',
9494
strategy: 'oauth_twitter',
9595
name: 'Twitter',
96-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-twitter',
96+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/twitter',
9797
},
9898
{
9999
provider: 'microsoft',
100100
strategy: 'oauth_microsoft',
101101
name: 'Microsoft',
102-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-microsoft',
102+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/microsoft',
103103
},
104104
{
105105
provider: 'tiktok',
106106
strategy: 'oauth_tiktok',
107107
name: 'TikTok',
108-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-tiktok',
108+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/tiktok',
109109
},
110110
{
111111
provider: 'linkedin',
112112
strategy: 'oauth_linkedin',
113113
name: 'LinkedIn',
114-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-linkedin',
114+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/linkedin',
115115
},
116116
{
117117
provider: 'linkedin_oidc',
@@ -123,103 +123,103 @@ export const OAUTH_PROVIDERS: OAuthProviderData[] = [
123123
provider: 'github',
124124
strategy: 'oauth_github',
125125
name: 'GitHub',
126-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-github',
126+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/github',
127127
},
128128
{
129129
provider: 'gitlab',
130130
strategy: 'oauth_gitlab',
131131
name: 'GitLab',
132-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-gitlab',
132+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/gitlab',
133133
},
134134
{
135135
provider: 'dropbox',
136136
strategy: 'oauth_dropbox',
137137
name: 'Dropbox',
138-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-dropbox',
138+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/dropbox',
139139
},
140140
{
141141
provider: 'atlassian',
142142
strategy: 'oauth_atlassian',
143143
name: 'Atlassian',
144-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-atlassian',
144+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/atlassian',
145145
},
146146
{
147147
provider: 'bitbucket',
148148
strategy: 'oauth_bitbucket',
149149
name: 'Bitbucket',
150-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-bitbucket',
150+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/bitbucket',
151151
},
152152
{
153153
provider: 'hubspot',
154154
strategy: 'oauth_hubspot',
155155
name: 'HubSpot',
156-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-hubspot',
156+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/hubspot',
157157
},
158158
{
159159
provider: 'notion',
160160
strategy: 'oauth_notion',
161161
name: 'Notion',
162-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-notion',
162+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/notion',
163163
},
164164
{
165165
provider: 'apple',
166166
strategy: 'oauth_apple',
167167
name: 'Apple',
168-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-apple',
168+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/apple',
169169
},
170170
{
171171
provider: 'line',
172172
strategy: 'oauth_line',
173173
name: 'LINE',
174-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-line',
174+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/line',
175175
},
176176
{
177177
provider: 'instagram',
178178
strategy: 'oauth_instagram',
179179
name: 'Instagram',
180-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-instagram',
180+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/instagram',
181181
},
182182
{
183183
provider: 'coinbase',
184184
strategy: 'oauth_coinbase',
185185
name: 'Coinbase',
186-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-coinbase',
186+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/coinbase',
187187
},
188188
{
189189
provider: 'spotify',
190190
strategy: 'oauth_spotify',
191191
name: 'Spotify',
192-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-spotify',
192+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/spotify',
193193
},
194194
{
195195
provider: 'xero',
196196
strategy: 'oauth_xero',
197197
name: 'Xero',
198-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-xero',
198+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/xero',
199199
},
200200
{
201201
provider: 'box',
202202
strategy: 'oauth_box',
203203
name: 'Box',
204-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-box',
204+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/box',
205205
},
206206
{
207207
provider: 'slack',
208208
strategy: 'oauth_slack',
209209
name: 'Slack',
210-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-slack',
210+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/slack',
211211
},
212212
{
213213
provider: 'linear',
214214
strategy: 'oauth_linear',
215215
name: 'Linear',
216-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-linear',
216+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/linear',
217217
},
218218
{
219219
provider: 'x',
220220
strategy: 'oauth_x',
221221
name: 'X / Twitter',
222-
docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-x-twitter-v2',
222+
docsUrl: 'https://clerk.com/docs/authentication/social-connections/x-twitter-v2',
223223
},
224224
];
225225

0 commit comments

Comments
 (0)