Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arctic v2 #147

Merged
merged 173 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from 142 commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
d95c752
v2
pilcrowonpaper Jun 27, 2024
dc9951a
add changeset
pilcrowonpaper Jun 27, 2024
02925c4
fix jwt
pilcrowonpaper Jun 27, 2024
7966495
rename endpoint
pilcrowonpaper Jun 27, 2024
86a893c
add decodeIdToken()
pilcrowonpaper Jun 27, 2024
d80631f
add changeset
pilcrowonpaper Jun 27, 2024
341dc6b
update github guide
pilcrowonpaper Jun 27, 2024
609c763
update google guide
pilcrowonpaper Jun 27, 2024
79cdc41
Update github guide
pilcrowonpaper Jun 27, 2024
5f3f3ed
update 42school guide
pilcrowonpaper Jun 27, 2024
ae25fdf
update 42school guide
pilcrowonpaper Jun 27, 2024
603b2d5
update anilist guide
pilcrowonpaper Jun 27, 2024
cd54fd0
update box guide
pilcrowonpaper Jun 27, 2024
ba30a11
update dribble guide
pilcrowonpaper Jun 27, 2024
6f98ca4
update facebook guide
pilcrowonpaper Jun 27, 2024
c5d6957
update github guide
pilcrowonpaper Jun 27, 2024
6382e0e
update google guide
pilcrowonpaper Jun 27, 2024
8d15405
update linear guide
pilcrowonpaper Jun 27, 2024
68276cb
update notion guide
pilcrowonpaper Jun 27, 2024
2d2155a
update slack guide
pilcrowonpaper Jun 27, 2024
6c6463a
update vk guide
pilcrowonpaper Jun 27, 2024
5eb9c12
update workos guide
pilcrowonpaper Jun 27, 2024
7fa0fc1
add owner params in slack
pilcrowonpaper Jun 27, 2024
4876719
format
pilcrowonpaper Jun 27, 2024
e011a7a
fix typo in changeset
pilcrowonpaper Jun 27, 2024
769920b
slack: make redirect uri optional
pilcrowonpaper Jun 27, 2024
3f26357
add SlackApp and SlackOIDC
pilcrowonpaper Jun 27, 2024
3adf484
rename SlackOIDC to SlackOpenID
pilcrowonpaper Jun 27, 2024
6491bdd
add slack openid and app guides
pilcrowonpaper Jun 27, 2024
01d793c
remove old slack guide
pilcrowonpaper Jun 27, 2024
0dabc34
add token revocation
pilcrowonpaper Jun 28, 2024
e68fdcf
fix amazon cognito
pilcrowonpaper Jun 28, 2024
66297c5
update box guide
pilcrowonpaper Jun 28, 2024
d90cb56
add domain param to salesforce
pilcrowonpaper Jun 28, 2024
8bce96a
format changeset
pilcrowonpaper Jun 29, 2024
587845d
Update amazon cognito guide
pilcrowonpaper Jun 29, 2024
1a3288e
cognito: change domain param to user pool
pilcrowonpaper Jun 29, 2024
4b92bef
auth0: use domain instead of origin
pilcrowonpaper Jun 29, 2024
207cd90
remove discord comment
pilcrowonpaper Jun 29, 2024
cace092
format
pilcrowonpaper Jun 29, 2024
bd562ea
twitch: remove token revocation
pilcrowonpaper Jun 29, 2024
f14c35e
update atlassian guide
pilcrowonpaper Jun 29, 2024
c921f68
update auth0 guide
pilcrowonpaper Jun 29, 2024
4baecad
update bitbucket guide
pilcrowonpaper Jun 29, 2024
712fcb5
update coinbase guide
pilcrowonpaper Jun 29, 2024
7f12c16
update discord guide
pilcrowonpaper Jun 29, 2024
576d0d5
update dropbox guide
pilcrowonpaper Jun 29, 2024
f9e3520
update figma guide
pilcrowonpaper Jun 29, 2024
f88952e
github guide: minor changes
pilcrowonpaper Jun 29, 2024
44f726a
google guide: move sections
pilcrowonpaper Jun 29, 2024
d0b5ac7
update intuit guide
pilcrowonpaper Jun 29, 2024
4f7190f
update kakao guide
pilcrowonpaper Jun 29, 2024
46547f1
update osu guide
pilcrowonpaper Jun 29, 2024
9999356
update patreon guide
pilcrowonpaper Jun 29, 2024
c6688b1
update reddit guide
pilcrowonpaper Jun 29, 2024
e8fc974
update shikimori guide
pilcrowonpaper Jun 29, 2024
e330db6
update spotify guide
pilcrowonpaper Jun 29, 2024
631ff3e
update strava guide
pilcrowonpaper Jun 29, 2024
1f339e2
update tiltify guide
pilcrowonpaper Jun 29, 2024
c50d557
update tumblr guide
pilcrowonpaper Jun 29, 2024
7d7fed6
update twitch guide
pilcrowonpaper Jun 29, 2024
832c725
update yandex guide
pilcrowonpaper Jun 29, 2024
d61a909
fix typos
pilcrowonpaper Jun 29, 2024
c2cfed8
fix typo
pilcrowonpaper Jun 29, 2024
a3c9667
twitter: add token revocation
pilcrowonpaper Jun 29, 2024
28b87e8
update twitter guide
pilcrowonpaper Jun 29, 2024
a1e4824
cognito: add note on token revocation
pilcrowonpaper Jun 29, 2024
3779632
reword
pilcrowonpaper Jun 29, 2024
913cf50
change initialization params
pilcrowonpaper Jun 29, 2024
47fa8fb
update lichess guide
pilcrowonpaper Jun 29, 2024
18a8781
gitlab: use domain over origin
pilcrowonpaper Jun 29, 2024
21f96af
refactor domain code
pilcrowonpaper Jun 29, 2024
e875813
update gitlab guide
pilcrowonpaper Jun 29, 2024
667b5ac
auth0 guide: fix wording
pilcrowonpaper Jun 29, 2024
6dfb33e
remove authentik
pilcrowonpaper Jun 29, 2024
43f555c
docs: minor fixes
pilcrowonpaper Jun 29, 2024
f61ff57
box guide: minor fix
pilcrowonpaper Jun 29, 2024
d3edc51
update line guide
pilcrowonpaper Jun 29, 2024
48d78b3
update linkedin guide
pilcrowonpaper Jun 29, 2024
2afc7c8
update microsoft entra id guide
pilcrowonpaper Jun 29, 2024
6f77895
update myanimelist guide
pilcrowonpaper Jun 29, 2024
d1b11d3
update okta guide
pilcrowonpaper Jun 29, 2024
25079d0
update roblox guide
pilcrowonpaper Jun 29, 2024
b349238
update salesforce guide
pilcrowonpaper Jun 29, 2024
bb16ec9
update yahoo guide
pilcrowonpaper Jun 29, 2024
82ec65e
update zoom guide
pilcrowonpaper Jun 29, 2024
0f0b5a6
update apple init
pilcrowonpaper Jun 29, 2024
974086f
update changeset
pilcrowonpaper Jun 29, 2024
c1cb329
minor changes
pilcrowonpaper Jun 29, 2024
eeb5cc6
format
pilcrowonpaper Jun 29, 2024
816d435
fix anilist guide
pilcrowonpaper Jun 29, 2024
70be2c3
mention nonce in entra id guide
pilcrowonpaper Jun 29, 2024
8d8213a
update apple guide
pilcrowonpaper Jun 29, 2024
2fc0c1e
okta guide: fix typos
pilcrowonpaper Jun 29, 2024
f190f4b
add back authentik
pilcrowonpaper Jun 29, 2024
8659663
rework docs
pilcrowonpaper Jun 29, 2024
d04b6f5
fix format
pilcrowonpaper Jun 29, 2024
652fc76
add missing token revocation docs
pilcrowonpaper Jun 29, 2024
22e5dde
reword apple guide
pilcrowonpaper Jun 29, 2024
ecd3bac
update okta guide
pilcrowonpaper Jun 29, 2024
97b1044
update @oslojs/oauth2
pilcrowonpaper Jun 29, 2024
62bbdd9
update reference link
pilcrowonpaper Jun 29, 2024
dabb36a
update oauth2 guides
pilcrowonpaper Jun 29, 2024
de4ffd8
update readme
pilcrowonpaper Jun 29, 2024
5c3099a
update sidebar
pilcrowonpaper Jun 29, 2024
ae24a37
update description
pilcrowonpaper Jun 29, 2024
c116d7e
add api reference
pilcrowonpaper Jun 29, 2024
ae02b9f
add state to error
pilcrowonpaper Jun 29, 2024
2d1feac
okta: fix old api
pilcrowonpaper Jun 29, 2024
892e404
add migration guide
pilcrowonpaper Jun 29, 2024
f961f62
publish v2 docs
pilcrowonpaper Jun 29, 2024
ad8e336
fix install
pilcrowonpaper Jun 29, 2024
c61aac6
update intro
pilcrowonpaper Jun 29, 2024
103161e
update release (#146)
pilcrowonpaper Jun 29, 2024
039ef7b
update migration guide
pilcrowonpaper Jun 29, 2024
31126f9
Merge remote-tracking branch 'refs/remotes/origin/v2' into v2
pilcrowonpaper Jun 29, 2024
8f9350a
fix typo
pilcrowonpaper Jun 29, 2024
30cfc48
fix another typo
pilcrowonpaper Jun 29, 2024
3b76a0c
enable asset hashing
pilcrowonpaper Jun 29, 2024
2b3d179
fix broken link
pilcrowonpaper Jun 29, 2024
f85e1f5
fix job steps
pilcrowonpaper Jun 30, 2024
f73d983
add api reference to sidebar
pilcrowonpaper Jun 30, 2024
39c40ce
fix config
pilcrowonpaper Jun 30, 2024
826bdf2
fix cognito docs
pilcrowonpaper Jul 3, 2024
7e1bcea
update authentik guide
pilcrowonpaper Jul 3, 2024
81838ca
add keycloak provider
pilcrowonpaper Jul 3, 2024
957a392
Fix `tokenEndpoint` (#150)
0cv Jul 3, 2024
14ee0cd
update release (#151)
pilcrowonpaper Jul 3, 2024
6572ed9
update oslojs/oauth2 (#155)
pilcrowonpaper Jul 13, 2024
b3cc9a3
2.0.0-next.2
pilcrowonpaper Jul 13, 2024
19a86af
add responce_type paramer for line (#156)
KazuumiN Jul 15, 2024
f846315
fix authorization url
pilcrowonpaper Jul 15, 2024
035dbea
next.3
pilcrowonpaper Jul 15, 2024
ff64518
next.4
pilcrowonpaper Jul 15, 2024
c750881
add decodeIdToken
pilcrowonpaper Jul 16, 2024
e1be987
2.0.0-next.5
pilcrowonpaper Jul 16, 2024
4ca8d76
Fixes a typo in Keycloak docs (#158)
infomiho Jul 22, 2024
6702498
docs: fix typo (#161)
itsnoctural Aug 1, 2024
d68c36c
fxi github docs
pilcrowonpaper Aug 17, 2024
06c83e1
Merge remote-tracking branch 'refs/remotes/origin/v2' into v2
pilcrowonpaper Aug 17, 2024
aff9dea
Fix keycloak docs title
pilcrowonpaper Sep 14, 2024
911a676
remove refresh token expiration methods
pilcrowonpaper Sep 14, 2024
94751e6
fix slack sidebar
pilcrowonpaper Sep 16, 2024
474ada1
fix authentik docs
pilcrowonpaper Sep 16, 2024
11fa3bf
fix dropbox docs
pilcrowonpaper Sep 16, 2024
1a799bf
fix google docs
pilcrowonpaper Sep 16, 2024
e64aff6
fix kakao docs
pilcrowonpaper Sep 16, 2024
4bccec8
fix keycloak docs
pilcrowonpaper Sep 16, 2024
1212891
fix linkedin docs
pilcrowonpaper Sep 16, 2024
c06dee2
fix salesforce docs
pilcrowonpaper Sep 16, 2024
9e4b2ef
fix twitter docs
pilcrowonpaper Sep 16, 2024
87614d9
fix yandex docs
pilcrowonpaper Sep 16, 2024
44e55b1
Merge branch 'main' into v2
pilcrowonpaper Sep 16, 2024
6ab0262
update dependencies
pilcrowonpaper Sep 16, 2024
e26607b
remove outdated message
pilcrowonpaper Sep 16, 2024
a284129
fix facebook example
pilcrowonpaper Sep 16, 2024
9efab56
fix inconsistency
pilcrowonpaper Sep 16, 2024
fbc5383
fic lichess docs
pilcrowonpaper Sep 16, 2024
03c760c
fix inconsistency
pilcrowonpaper Sep 16, 2024
2a5bc33
v2: Add bungie provider (#170)
pilcrowonpaper Sep 18, 2024
cd1fe6d
add start.gg provider (#171)
pilcrowonpaper Sep 18, 2024
d5f7481
add polar provider (#173)
pilcrowonpaper Sep 18, 2024
40dea72
2.0.0-next.8
pilcrowonpaper Sep 18, 2024
befdcf0
remove dependency
pilcrowonpaper Sep 18, 2024
089932e
2.0.0-next.9
pilcrowonpaper Sep 18, 2024
0eeae65
update dependencies
pilcrowonpaper Sep 18, 2024
88549bf
update dependencies
pilcrowonpaper Sep 26, 2024
ca3bffc
fix docs
pilcrowonpaper Sep 26, 2024
d7cc48a
fix cognito
pilcrowonpaper Oct 20, 2024
e5d53b9
update changelog
pilcrowonpaper Oct 20, 2024
30f7385
update package.json
pilcrowonpaper Oct 20, 2024
00d4f61
update readme
pilcrowonpaper Oct 20, 2024
122869b
update actions
pilcrowonpaper Oct 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:
env:
AURI_GITHUB_TOKEN: ${{secrets.AURI_GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
CLOUDFLARE_API_TOKEN: ${{secrets.CLOUDFLARE_API_TOKEN_V2}}

jobs:
publish-package:
Expand Down Expand Up @@ -75,3 +76,29 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

publish-v2-docs:
name: Publish v2 docs
runs-on: ubuntu-latest
needs: check-changesets
if: needs.check-changesets.check-changesets.outputs.changesets == 0 && github.ref_name == 'v2'
steps:
- name: setup actions
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 20.5.1
registry-url: https://registry.npmjs.org
- name: install malta
working-directory: docs
run: |
curl -o malta.tgz -L https://github.com/pilcrowonpaper/malta/releases/latest/download/linux-amd64.tgz
tar -xvzf malta.tgz
- name: build
working-directory: docs
run: ./linux-amd64/malta build
- name: install wrangler
run: npm i -g wrangler
- name: deploy
run: wrangler pages deploy docs/dist --project-name arctic-v2 --branch main
151 changes: 34 additions & 117 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,140 +1,57 @@
# arctic

## 1.9.1
## 2.0.0-next.6

### Patch changes
## Major changes

- Fix: Remove new lines when parsing Apple certificate ([#139](https://github.com/pilcrowOnPaper/arctic/pull/139))
- Remove `OAuth2Tokens.refreshTokenExpiresInSeconds()` and `OAuth2Tokens.refreshTokenExpiresAt()`

## 1.9.0
## 2.0.0-next.5

### Minor changes
## Minor changes

- Added Authentik auth provider ([#120](https://github.com/pilcrowOnPaper/arctic/pull/120))
- Export `decodeIdToken()`

## 1.8.1
## 2.0.0-next.4

### Patch changes
## Patch changes

- Fix Slack provider ([#122](https://github.com/pilcrowOnPaper/arctic/pull/122))
- Fix Okta provider ([#124](https://github.com/pilcrowOnPaper/arctic/pull/124))
- Fix `createAuthorizationURL()` methods.

## 1.8.0
## 2.0.0-next.2

### Minor changes
## Major changes

- Feat: Add `idToken` to the return value of LinkedIn's `validateAuthorizationCode(code: string)` ([#105](https://github.com/pilcrowOnPaper/arctic/pull/105))
- Feat: Add Tiltify provider. ([#118](https://github.com/pilcrowOnPaper/arctic/pull/118))
- Update `createAuthorizationURL()` provider methods
- Remove `SlackApp` and `SlackOpenID`

### Patch changes
## 2.0.0-next.1

- Fix: Make `refreshToken` optional for the return value of LinkedIn's `validateAuthorizationCode(code: string)` ([#105](https://github.com/pilcrowOnPaper/arctic/pull/105))
## Minor changes

## 1.7.0
- Add KeyCloak provider

### Minor changes
## Patch changes

- Add Shikimori provider. ([#95](https://github.com/pilcrowOnPaper/arctic/pull/95))
- Feat: add 42 school provider ([#109](https://github.com/pilcrowOnPaper/arctic/pull/109))
- Fix token endpoint initialization in `Salesforce` provider

## 1.6.2
## 2.0.0-next.0

### Patch changes
## Major changes

- Use HTTP basic auth for sending client credentials if supported ([#113](https://github.com/pilcrowOnPaper/arctic/pull/113))
- `createAuthorizationURL()` no longer returns a `Promise`
- `validateAuthorizationCode()` and `refreshAccessToken()` returns `OAuth2Tokens`
- `validateAuthorizationCode()` and `refreshAccessToken()` can throw one of `OAuth2RequestError`, `ArcticFetchError`, or `Error`
- Scopes are no longer set by default, including `openid` and those required by the provider
- Updated parameters for `Apple`, `GitHub`, `GitLab`, `MicrosoftEntraId`, `MyAnimeList`, `Okta`, `Osu`, and `Salesforce`
- Removed `options.scope` parameter from `createAuthorizationURL()`
- Removed `OAuth2Provider` and `OAuth2ProviderWithPKCE`
- Replace `Slack` with `SlackApp` and `SlackOpenID`
- Remove `Keycloak`

## 1.6.1
## Minor changes

### Patch changes

- Fix Roblox provider and reverted API changes introduced in 1.6.0 ([#111](https://github.com/pilcrowOnPaper/arctic/pull/111))

## 1.6.0

### Minor changes

- Add Intuit provider. ([#97](https://github.com/pilcrowOnPaper/arctic/pull/97))

### Patch changes

- Fix Roblox provider (see docs for API changes) ([#110](https://github.com/pilcrowOnPaper/arctic/pull/110))

## 1.5.0

### Minor changes

- Add AniList provider. ([#92](https://github.com/pilcrowOnPaper/arctic/pull/92))

## 1.4.0

### Minor changes

- Add MyAnimeList provider. ([#89](https://github.com/pilcrowOnPaper/arctic/pull/89))
- Add Roblox provider. ([#88](https://github.com/pilcrowOnPaper/arctic/pull/88))
- Add VK provider. ([#88](https://github.com/pilcrowOnPaper/arctic/pull/88))

### Patch changes

- Update dependencies. ([#89](https://github.com/pilcrowOnPaper/arctic/pull/89))

## 1.3.0

### Minor changes

- Add Yandex provider. ([#85](https://github.com/pilcrowOnPaper/arctic/pull/85))
- Feat: Add support for Github Enterprise Server to `GitHub` Provider ([#77](https://github.com/pilcrowOnPaper/arctic/pull/77))

## 1.2.1

### Patch changes

- Move `auri` to dev dependencies. ([#75](https://github.com/pilcrowOnPaper/arctic/pull/75))

## 1.2.0

### Minor changes

- Add Dribbble provider ([#69](https://github.com/pilcrowOnPaper/arctic/pull/69))

### Patch changes

- Fix: Export GitLab provider ([#73](https://github.com/pilcrowOnPaper/arctic/pull/73))

## 1.1.6

### Patch changes

- Fix Atlassian refresh token method ([#67](https://github.com/pilcrowOnPaper/arctic/pull/67))

## 1.1.5

### Patch changes

- Fix: Fix wrong refresh token expiration date in Keycloak provider ([#65](https://github.com/pilcrowOnPaper/arctic/pull/65))

## 1.1.4

### Patch changes

- Fix: Fix spotify provider refresh token not being passed the credentials ([#60](https://github.com/pilcrowOnPaper/arctic/pull/60))

## 1.1.3

### Patch changes

- Fix: Use request body for sending credentials in Dropbox provider ([#55](https://github.com/pilcrowOnPaper/arctic/pull/55))

## 1.1.0

- Add Patreon provider [#46](https://github.com/pilcrowOnPaper/arctic/pull/46)
- Add Amazon Cognito provider [#47](https://github.com/pilcrowOnPaper/arctic/pull/47)
- Add Strava provider [#48](https://github.com/pilcrowOnPaper/arctic/pull/48)
- Add osu! provider [#49](https://github.com/pilcrowOnPaper/arctic/pull/49)
- Add Zoom provider [#50](https://github.com/pilcrowOnPaper/arctic/pull/50)
- Add Linear provider [#51](https://github.com/pilcrowOnPaper/arctic/pull/51)
- Add Coinbase provider [#52](https://github.com/pilcrowOnPaper/arctic/pull/52)
- Add WorkOS provider [#53](https://github.com/pilcrowOnPaper/arctic/pull/53)

## 1.0.1

- Fix Atlassian provider
- Add `refreshAccessToken()` to `GitHub`
- `createAuthorizationURL()` returns `AuthorizationCodeAuthorizationURL`
- Add `decodeIdToken()`
- Add token revocation API
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
# Arctic

Arctic is an OAuth 2.0 library for JavaScript/TypeScript that supports numerous providers. It's light weight, fully-typed, and runtime-agnostic. [Read the documentation →](https://arctic.js.org)
Arctic is a collection of OAuth 2.0 clients for popular providers. It only supports the authorization code grant type and intended to be used server-side. Built on top of the Fetch API, it's light weight, fully-typed, and runtime-agnostic.

```
npm install arctic@next
```

```ts
import { GitHub, generateState } from "arctic";

const github = new GitHub(clientId, clientSecret);

const state = generateState();
const authorizationURL = await github.createAuthorizationURL(state, {
scopes: ["user:email"]
});
const scopes = ["user:email"];
const authorizationURL = github.createAuthorizationURL(state, scopes);

// ...

const tokens = await github.validateAuthorizationCode(code);
const accessToken = tokens.accessToken();
```

For a flexible OAuth 2.0 client, see [`oslo/oauth2`](http://github.com/pilcrowonpaper/oslo).

> Arctic only supports providers that strictly follow the OAuth 2.0 spec (including PKCE).
> Arctic only supports providers that follow the OAuth 2.0 spec (including PKCE and token revocation).

## Semver

Expand All @@ -40,12 +44,11 @@ Arctic does not strictly follow semantic versioning. While we aim to only introd
- Dropbox
- Facebook
- Figma
- Github
- GitHub
- GitLab
- Google
- Intuit
- Kakao
- Keycloak
- Lichess
- Line
- Linear
Expand Down
13 changes: 9 additions & 4 deletions docs/malta.config.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "Arctic",
"description": "Arctic is a library that provides OAuth 2.0 clients for major providers.",
"description": "Arctic is a collection of OAuth 2.0 clients for popular providers.",
"domain": "https://arctic.js.org",
"twitter": "@pilcrowonpaper",
"asset_hashing": true,
"sidebar": [
{
"title": "Guides",
"pages": [
["OAuth 2.0", "/guides/oauth2"],
["OAuth 2.0 with PKCE", "/guides/oauth2-pkce"],
["OpenID Connect", "/guides/oidc"]
["Migrate to v2", "/guides/migrate-v2"]
]
},
{
Expand All @@ -35,7 +36,7 @@
["Google", "/providers/google"],
["Intuit", "/providers/intuit"],
["Kakao", "/providers/kakao"],
["Keycloak", "/providers/keycloak"],
["KeyCloak", "/providers/keycloak"],
["Lichess", "/providers/lichess"],
["Line", "/providers/line"],
["Linear", "/providers/linear"],
Expand All @@ -50,7 +51,7 @@
["Roblox", "/providers/roblox"],
["Salesforce", "/providers/salesforce"],
["Shikimori", "/providers/shikimori"],
["Slack", "/providers/slack"],
["Slack", "/providers/slack-openid"],
pilcrowonpaper marked this conversation as resolved.
Show resolved Hide resolved
["Spotify", "/providers/spotify"],
["Strava", "/providers/strava"],
["Tiltify", "/providers/tiltify"],
Expand All @@ -64,6 +65,10 @@
["Zoom", "/providers/zoom"]
]
},
{
"title": "API reference",
"pages": [["arctic", "/reference/main"]]
},
{
"title": "Links",
"pages": [
Expand Down
Loading
Loading