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

Updates Tenant Token Documentation #2928

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion learn/security/generate_tenant_token_scratch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Consult the [token payload reference](/learn/security/tenant_token_reference) fo

## Encode header and payload

You must then encode both the header and the payload into `base64`, concatenate them, and generate the token by signing it using your chosen encryption algorithm.
You must then encode both the header and the payload into `base64`, concatenate them, and generate the token by signing it using your chosen encryption algorithm. For more details [click here](https://jwt.io/).

## Make a search request using a tenant token

Expand Down
3 changes: 3 additions & 0 deletions reference/api/search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ A search query cannot return more results than configured in [`maxTotalHits`](/r
#### Example

If you want your query to return only **two** documents, set `limit` to `2`:
<br/>
Also, <br/>
If you want your query to return only **zero** documents, set `limit` to 0: (Maybe useful for anykind of restricted search)

<CodeSamples id="search_parameter_guide_limit_1" />

Expand Down