Skip to content

Commit 3a3a121

Browse files
committed
Merge branch 'master' into feat/ai-guides
2 parents 835143f + b0de9d7 commit 3a3a121

File tree

200 files changed

+4155
-1250
lines changed

Some content is hidden

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

200 files changed

+4155
-1250
lines changed

.vale.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ MinAlertLevel = suggestion
44

55
Vocab = Authentication
66

7-
IgnoredScopes = text.frontmatter.page_type, text.frontmatter.category
7+
IgnoredScopes = text.frontmatter.page_type, text.frontmatter.category, text.frontmatter.recipe, text.frontmatter.id, code
8+
IgnoredClasses = inline-code
89

910
[*.{md,mdx}]
1011
BasedOnStyles = SuperTokens

.vale/SuperTokens/acronyms.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ exceptions:
3232
- SAML
3333
- GUI
3434
- CDI
35+
- FDI
3536
- XYZ
3637
- HTML
3738
- HTTP
@@ -47,3 +48,10 @@ exceptions:
4748
- YAML
4849
- TOTP
4950
- ZIP
51+
- POST
52+
- PUT
53+
- DELETE
54+
- GET
55+
- REST
56+
- AWS
57+
- JWKS

.vale/SuperTokens/headings.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ exceptions:
5151
- Unified Login
5252
- JWT
5353
- JWTs
54+
- SDK
5455
- UI
5556
- Token
5657
- WebAuthn
58+
- JWKS
59+
- NestJS
60+
- ID
61+
- GDPR
62+
- HTTPS
63+
- SMS
64+
- SSL
65+
- SMTP
66+
- ThirdParty

.vale/SuperTokens/spelling.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ filters:
2424
- "refetch"
2525
- "authorizer"
2626
- "Authorizer"
27+
- "upsert"
28+
- "Upsert"
2729
- "cron"
2830
- "Cron"
2931
# Abbreviations and Brand Names
@@ -34,6 +36,7 @@ filters:
3436
- "API's"
3537
- "JWT[s]"
3638
- "URI[s]"
39+
- "URL[s]"
3740
- "MAU[s]"
3841
- "XMLHTTPRequest"
3942
- "XML"
@@ -87,3 +90,10 @@ filters:
8790
- "[Uu]nlink[ing]"
8891
- "deduplication"
8992
- "Callout"
93+
- "uri"
94+
- "websocket"
95+
- "cli"
96+
- "CLI"
97+
- "Unverify"
98+
- "FDI"
99+
- "CDI"

.vale/SuperTokens/words.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ swap:
1818
(?:kubernetes|k8s|K8s|K8S): Kubernetes
1919
https: HTTPS
2020
http: HTTP
21+
uri: URI
22+
url: URL
2123
tenantId: "`tenantId`"
2224
userId: "`userId`"
2325
pre built: pre-built

docs/_templates/api-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# API Reference template
1+
# API reference template
22

33
> The following template is taken from [The Good Docs Project](https://www.thegooddocsproject.dev/template/api-reference)
44
> Some adjustments/clarifications have been made in the context of the **SuperTokens** docs.
@@ -32,7 +32,7 @@ Authentication and authorization {is | is not} required for requests to these AP
3232

3333
{This section is optional.}
3434

35-
Due to the potentially very large result sets from API calls, responses {are | can be} returned as shorter pages.
35+
Due to the large result sets from API calls, responses {are | can be} returned as shorter pages.
3636

3737
Pagination can be customized using {pagination settings}. If not specified, the default values are {values}.
3838

@@ -64,7 +64,7 @@ The {product} APIs use the following error types:
6464
| | |
6565
| | |
6666

67-
#### ExampleErrorType
67+
#### Example error type
6868

6969
| Field | Type | Description |
7070
| ---------------- | ---------- | ---------------------------------------------------------------------- |

docs/_templates/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ By the end of this tutorial, you'll be able to:
2222
## Background
2323

2424
{This section is optional. Feel free to use some of the text below to help you get started.}
25-
{Use this section to give more context to the user about what they are about to implement. E.g. explain what OAuth is, how ThirdParty providers work, etc}
25+
{Use this section to give more context to the user about what they are about to implement. For example, explain what OAuth is, how ThirdParty providers work, etc}
2626

2727
## Before you start
2828

docs/additional-verification/attack-protection-suite/initial-setup.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ The following page shows you how to include the **Attack Protection Suite** feat
2121

2222
This feature is **in beta**.
2323
To get access to it, please [reach out](mailto:[email protected]) to get it set up for you.
24-
Once you have access to it, you will receive:
24+
Once you have access to it, you receive:
2525
- **Public API key** - use this on your frontend for generating request IDs
2626
- **Secret API key** - use this on your backend for making requests to the anomaly detection API
2727
- **Environment ID** - use this for identifying the environment you are using both on the backend and the frontend
2828

2929

3030
You can use the feature with either the `Email Password` or the `Passwordless` authentication methods.
31-
For social or enterprise login, it is not needed for several reasons:
31+
For social or enterprise login, it is not needed for multiple reasons:
3232
- **Existing anomaly detection**: Most reputable third-party authentication providers (like Google, Facebook, Apple, etc.) have robust security measures in place, including their own anomaly detection systems. These systems are typically more comprehensive and tailored to their specific platforms.
3333
- **Limited visibility**: When using third-party authentication, you have limited visibility into the authentication process. This makes it difficult to accurately detect anomalies or suspicious activities that occur on the third-party's side.
3434
- **Potential false positives**: Applying anomaly detection to third-party logins might lead to an increase in false positives, as you don't have full context of the user's interactions with the third-party provider.
@@ -151,7 +151,7 @@ export const SuperTokensConfig = {
151151

152152
To retrieve the request ID in the backend you have to override the recipe implementations.
153153

154-
#### Email and Password
154+
#### Email and password
155155

156156
<BackendTabs>
157157

docs/additional-verification/mfa/introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ It achieves the same level of security as a magic link.
3131
## Getting started
3232

3333
The quickest way to get a glimpse of how MFA works with **SuperTokens** is to use the example app.
34-
Just run the following command to get started:
34+
Run the following command to get started:
3535

3636
```bash
3737
npx create-supertokens-app@latest --recipe=multifactorauth
@@ -40,7 +40,7 @@ npx create-supertokens-app@latest --recipe=multifactorauth
4040
Besides that, you can check the initial quickstart guide for step-by-step instructions, along with the other guides for more specific use cases.
4141

4242
Before you explore a guide, read through the **Important Concepts** page first.
43-
It explains several topics that get used in each tutorial.
43+
It explains multiple topics that get used in each tutorial.
4444

4545
<ReferenceCard.Grid lg="repeat(2, 1fr)">
4646
<ReferenceCard href="/docs/additional-verification/mfa/important-concepts">

docs/additional-verification/mfa/legacy-mfa/backend-setup/first-factor.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ After following the [backend quick setup section](/docs/quickstart/backend-setup
2525
<BackendTabs>
2626
<BackendTabs.TabItem value="nodejs">
2727

28-
<NodeFrameworksCard showAppTypeSelect>
28+
<NodeFrameworksCard exclude={["awsLambda", "nextjs", "nestjs"]} showAppTypeSelect>
2929
<NodeFrameworksCard.Content value="express">
3030

3131
```tsx
@@ -388,7 +388,7 @@ init(
388388
You should have also added the SuperTokens `middleware` and `errorHandler` (depending on your framework) to your application. We are not showing it in the above code snippet for brevity, but it is explained in the ThirdParty + EmailPassword recipe guide.
389389
:::
390390

391-
## 2. Adding SecondFactorClaim
391+
## 2. Adding second factor claim
392392

393393
After sign up or sign in of the first factor, the existence of the session signifies the completion of the first factor, but we want to explicitly mark the second factor as incomplete. This can be done by overriding the `createNewSession` function in the `Session.init` config:
394394

0 commit comments

Comments
 (0)