Enabling authentication
You can add an authentication method to yourdocs.json to enable it globally on every page or you can set it on a per-page basis.
A page’s authentication method will override a global method if both are set.
TTS-1.5 is here: under 120ms latency, optimized stability!
You can set authentication parameters to let users use their real API keys.
docs.json to enable it globally on every page or you can set it on a per-page basis.
A page’s authentication method will override a global method if both are set.
"api": {
"mdx": {
"auth": {
"method": "bearer"
}
}
}
"api": {
"mdx": {
"auth": {
"method": "basic"
}
}
}
"api": {
"mdx": {
"auth": {
"method": "key",
"name": "x-api-key"
}
}
}
---
title: "Your page title"
authMethod: "none"
---
Was this page helpful?