Skip to content

Commit e32f659

Browse files
authored
feat: add integrations tab for connector guides (#656)
* feat: add integrations tab for connector guides * chore: hide integrations page
1 parent 41f73c6 commit e32f659

File tree

17 files changed

+150
-0
lines changed

17 files changed

+150
-0
lines changed

docs/integrations/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
sidebar_label: Integrations
3+
---
4+
5+
# Integrations
6+
7+
Welcome to Logto integrations documentation. This documentation contains useful guides for integrating a third-party auth service with Logto, via Logto connectors.
8+
9+
---
10+
11+
```mdx-code-block
12+
import Gallery from '@components/Gallery';
13+
14+
<Gallery path="integrations" />
15+
```
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
slug: /integrations/sendgrid
3+
sidebar_label: SendGrid email
4+
sidebar_custom_props:
5+
description: SendGrid is a communication platform for transactional and marketing email.
6+
---
7+
8+
# Integrate Logto email service with SendGrid
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
slug: /integrations/twilio
3+
sidebar_label: Twilio SMS service
4+
sidebar_custom_props:
5+
description: Twilio provides programmable communication tools for phone calls and messages.
6+
---
7+
8+
# Integrate Logto SMS service with Twilio
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
slug: /integrations/github
3+
sidebar_label: GitHub
4+
sidebar_custom_props:
5+
description: Integrate Logto social sign-in with GitHub.
6+
---
7+
8+
# Integrate Logto social sign-in with GitHub
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
slug: /integrations/google
3+
sidebar_label: Google
4+
sidebar_custom_props:
5+
description: Integrate Logto social sign-in with Google.
6+
---
7+
8+
# Integrate Logto social sign-in with Google
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
slug: /integrations/google-workspace
3+
sidebar_label: Google workspace
4+
sidebar_custom_props:
5+
logoFilename: 'google.svg'
6+
description: Integrate Logto SSO sign-in with Google workspace.
7+
---
8+
9+
# Integrate Logto SSO sign-in with Google workspace

docs/integrations/sso/okta/README.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
slug: /integrations/okta
3+
sidebar_label: Okta
4+
sidebar_custom_props:
5+
description: Integrate Logto SSO sign-in with Okta.
6+
---
7+
8+
# Integrate Logto SSO sign-in with Okta

docusaurus.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ const config = {
124124
position: 'left',
125125
label: 'Framework quick start',
126126
},
127+
// {
128+
// type: 'doc',
129+
// docId: 'integrations/README',
130+
// position: 'left',
131+
// label: 'Integrations',
132+
// },
127133
{
128134
to: 'https://openapi.logto.io/',
129135
position: 'left',

sidebars.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,30 @@ const sidebars = {
6969
// },
7070
// { type: 'autogenerated', dirName: 'quick-start/database' },
7171
],
72+
integrationsSidebar: [
73+
'integrations/README',
74+
{
75+
type: 'link',
76+
label: 'Social connectors',
77+
href: '#',
78+
className: 'sidebar-section',
79+
},
80+
{ type: 'autogenerated', dirName: 'integrations/social' },
81+
{
82+
type: 'link',
83+
label: 'SMS and email connectors',
84+
href: '#',
85+
className: 'sidebar-section',
86+
},
87+
{ type: 'autogenerated', dirName: 'integrations/sms-and-email' },
88+
{
89+
type: 'link',
90+
label: 'SSO connectors',
91+
href: '#',
92+
className: 'sidebar-section',
93+
},
94+
{ type: 'autogenerated', dirName: 'integrations/sso' },
95+
],
7296

7397
// But you can create a sidebar manually
7498
/*

static/img/logo/github.svg

Lines changed: 10 additions & 0 deletions
Loading

static/img/logo/google.svg

Lines changed: 6 additions & 0 deletions
Loading

static/img/logo/okta.svg

Lines changed: 3 additions & 0 deletions
Loading

static/img/logo/sendgrid.svg

Lines changed: 9 additions & 0 deletions
Loading

static/img/logo/spring-web.svg

Lines changed: 10 additions & 0 deletions
Loading

static/img/logo/twilio.svg

Lines changed: 3 additions & 0 deletions
Loading

static/img/logo/wordpress.svg

Lines changed: 14 additions & 0 deletions
Loading

static/robots.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
User-agent: *
22
Allow: /
33
Disallow: /quick-start/
4+
Disallow: /integrations/
45

56
User-agent: Algolia Crawler
67
Allow: /

0 commit comments

Comments
 (0)