Skip to content
Merged
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions authentication-personalization/authentication-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<Step title="Create your user info endpoint (optional).">
To enable personalization features, create an API endpoint that:
* Accepts OAuth access tokens for authentication.
* Returns user data in the `User` format. See [Sending Data](/authentication-personalization/sending-data) for more information.
* Returns user data in the `User` format. See [User data format](/authentication-personalization/personalization-setup#user-data-format) for more information.

Add this endpoint URL to the **Info API URL** field in your [authentication settings](https://dashboard.mintlify.com/settings/deployment/authentication).
</Step>
Expand All @@ -139,8 +139,8 @@
```json
{
"content": {
"firstName": "Jane",

Check warning on line 142 in authentication-personalization/authentication-setup.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

authentication-personalization/authentication-setup.mdx#L142

Did you really mean 'firstName'?
"lastName": "Doe"

Check warning on line 143 in authentication-personalization/authentication-setup.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

authentication-personalization/authentication-setup.mdx#L143

Did you really mean 'lastName'?
},
"groups": ["engineering", "admin"]
}
Expand Down Expand Up @@ -168,7 +168,7 @@
<Step title="Integrate Mintlify authentication into your login flow.">
Modify your existing login flow to include these steps after user authentication:

* Create a JWT containing the authenticated user's info in the `User` format. See [Sending Data](/authentication-personalization/sending-data) for more information.
* Create a JWT containing the authenticated user's info in the `User` format. See [User data format](/authentication-personalization/personalization-setup#user-data-format) for more information.
* Sign the JWT with your secret key, using the EdDSA algorithm.
* Create a redirect URL back to the `/login/jwt-callback` path of your docs, including the JWT as the hash.
</Step>
Expand Down Expand Up @@ -258,7 +258,7 @@

### Page level

To make a page public, add `public: true` to the page's frontmatter.

Check warning on line 261 in authentication-personalization/authentication-setup.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

authentication-personalization/authentication-setup.mdx#L261

Did you really mean 'frontmatter'?

```mdx Public page example
---
Expand Down