docs: fix spelling and grammar (#13862)
Fixed various spelling errors and grammatical issues across multiple .mdx documentation files.
This commit is contained in:
@@ -51,7 +51,7 @@ Start by creating a workflow that does two things:
|
||||
For example, create the file `src/workflows/create-manager.ts`. with the following content:
|
||||
|
||||
export const workflowHighlights = [
|
||||
["21", "createManagerStep", "Thi step creates a manager."],
|
||||
["21", "createManagerStep", "This step creates a manager."],
|
||||
["38", "createManagerWorkflow", "The workflow used to create a manager and set its auth identity's actor type."],
|
||||
["45", "setAuthAppMetadataStep", "Set the actor type of the manager's associated auth identity."],
|
||||
["47", '"manager"', "The actor type of the manager."]
|
||||
@@ -177,7 +177,7 @@ export async function POST(
|
||||
|
||||
Since the manager must be associated with an `AuthIdentity` record, the request is expected to be authenticated, even if the manager isn’t created yet. This can be achieved by:
|
||||
|
||||
1. Obtaining a token usng the [/auth route](../authentication-route/page.mdx).
|
||||
1. Obtaining a token using the [/auth route](../authentication-route/page.mdx).
|
||||
2. Passing the token in the bearer header of the request to this route.
|
||||
|
||||
In the API route, you create the manager using the workflow from the previous section and return it in the response.
|
||||
|
||||
@@ -25,7 +25,7 @@ Learn more about why modules are isolated in [this documentation](!docs!/learn/f
|
||||
- [Basic User Authentication](./authentication-route/page.mdx#1-basic-authentication-flow): Authenticate users using their email and password credentials.
|
||||
- [Third-Party and Social Authentication](./authentication-route/page.mdx#2-third-party-service-authenticate-flow): Authenticate users using third-party services and social platforms, such as [Google](./auth-providers/google/page.mdx) and [GitHub](./auth-providers/github/page.mdx).
|
||||
- [Authenticate Custom Actor Types](./create-actor-type/page.mdx): Create custom user or actor types, such as managers, authenticate them in your application, and guard routes based on the custom user types.
|
||||
- [Custom Authentication Providers](/references/auth/provider): Integrate third-party services with custom authentication providors.
|
||||
- [Custom Authentication Providers](/references/auth/provider): Integrate third-party services with custom authentication providers.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user