Skip to content

Commit ceac07b

Browse files
authored
feat(docs): update authorization docs and change preferred auth (#1652)
1 parent 12c0dcb commit ceac07b

File tree

48 files changed

+2831
-2906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2831
-2906
lines changed

_redirects

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/building-apps-for-livechat/* /docs/getting-started/guides/:splat 301
1616
/build-integration/* /docs/guides/livechat-apps/#building-a-webhook-app/:splat 301
1717
/how-to-monetize-apps/* /docs/monetization/how-to-monetize-apps/:splat 301
18-
/sign-in-with-livechat/* /docs/getting-started/authorization/sign-in-with-livechat/:splat 301
18+
/sign-in-with-livechat/* /docs/authorization/oauth-authorization:splat 301
1919
/agent-chat-api/* /docs/messaging/agent-chat-api/:splat 301
2020
/customer-chat-api/* /docs/messaging/customer-chat-api/:splat 301
2121
/configuration-api/* /docs/management/configuration-api/:splat 301
@@ -29,7 +29,7 @@
2929
/android-widget/* /docs/getting-started/installing-livechat/android-widget/:splat 301
3030
/ios-widget/* /docs/getting-started/installing-livechat/ios-widget/:splat 301
3131
/management/configuration-api-v2/* /docs/management/configuration-api/v2.0/:splat 301
32-
/getting-started/guides/messaging-apis-in-practice/* /docs/getting-started/authorization/authorization-in-practice/ 301
32+
/getting-started/guides/messaging-apis-in-practice/* /docs/authorization/oauth-authorization/:splat 301
3333
/extending-ui/extending-agent-app/* /docs/extending-agent-app/:splat 301
3434
/extending-ui/extending-chat-widget/* /docs/extending-chat-widget/:splat 301
3535
/extending-ui/ /docs/getting-started/#extending-the-livechat-ui 301
@@ -71,7 +71,10 @@
7171
/getting-started/livechat-apps/* /docs/guides/livechat-apps/:splat 301
7272
/getting-started/helpdesk-apps/* /docs/guides/helpdesk-apps/:splat 301
7373
/guides/livechat-apps/webhook-apps/* /docs/guides/livechat-apps/#building-a-webhook-app/:splat 301
74-
74+
/authorization/authorizing-api-calls* /docs/authorization/oauth-authorization/:splat 301
75+
/authorization/faq* /docs/authorization/troubleshooting:splat 301
76+
/authorization/sign-in-with-livechat* /docs/authorization/oauth-authorization/:splat 301
77+
/authorization/authorization-in-practice* /docs/authorization/oauth-authorization/:splat 301
7578

7679
# Redirect images so can work on netlify and /docs domain
7780
/docs/images/* /images/:splat 200

src/configs/redoc/customer-accounts-api/spec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ paths:
268268
example: c6e4f62e2a2dab12531235b12c5a2a6b
269269
code_challenge:
270270
type: string
271-
description: Code challenge, as in OAuth2 <a href="https://platform.text.com/docs/authorization/authorizing-api-calls/#pkce-extension">PKCE flow.</a>
271+
description: Code challenge, as in OAuth2 <a href="https://platform.text.com/docs/authorization/oauth-authorization/#pkce-extension">PKCE flow.</a>
272272
example: 9_r7xBQQ8RJ3NOr0AMDBqASrf5ZT41PG1qjuLEYDs-c
273273

274274
required:
@@ -312,7 +312,7 @@ components:
312312
OAuth2 Agent Bearer Token:
313313
description: >-
314314
This API uses OAuth2 for agents with the Implicit grant flow. <a
315-
href="https://platform.text.com/docs/authorization/authorizing-api-calls/#implicit-grant">Learn
315+
href="https://platform.text.com/docs/authorization/oauth-authorization/#implicit-grant">Learn
316316
about the implicit grant flow.</a>
317317
type: oauth2
318318
flows:

src/configs/redoc/customer-accounts-api/specv2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ paths:
273273
example: c6e4f62e2a2dab12531235b12c5a2a6b
274274
code_challenge:
275275
type: string
276-
description: Code challenge, as in OAuth2 <a href="https://platform.text.com/docs/authorization/authorizing-api-calls/#pkce-extension">PKCE flow.</a>
276+
description: Code challenge, as in OAuth2 <a href="https://platform.text.com/docs/authorization/oauth-authorization/#pkce-extension">PKCE flow.</a>
277277
example: 9_r7xBQQ8RJ3NOr0AMDBqASrf5ZT41PG1qjuLEYDs-c
278278

279279
required:
@@ -308,7 +308,7 @@ paths:
308308
/{organization_id}/{group_id}/token/:
309309
post:
310310
summary: Create a group token
311-
description: Creates a new customer access token for a different group within the same organization. Use this token to separate customer identity across groups within one organization, <a href="https://platform.text.com/docs/authorization/authorizing-api-calls#case-existing-customer-chatting-in-different-groups">click here for more information.</a>
311+
description: Creates a new customer access token for a different group within the same organization. Use this token to separate customer identity across groups within one organization, <a href="https://platform.text.com/docs/authorization/oauth-authorization#case-existing-customer-chatting-in-different-groups">click here for more information.</a>
312312
security:
313313
- {}
314314
- Cookie Auth: []
@@ -479,7 +479,7 @@ components:
479479
OAuth2 Agent Bearer Token:
480480
description: >-
481481
This API uses OAuth2 for agents with the Implicit grant flow. <a
482-
href="https://platform.text.com/docs/authorization/authorizing-api-calls/#implicit-grant">Learn
482+
href="https://platform.text.com/docs/authorization/oauth-authorization/#implicit-grant">Learn
483483
about the implicit grant flow.</a>
484484
type: oauth2
485485
flows:

0 commit comments

Comments
 (0)