confused about the functionality of API tokens. #1454
Replies: 2 comments
-
|
Hi @hemachowdary-10, sorry for the confusion. I can add a short API token matrix (token purpose, expiration, scope, rotation) if you share which client path you are using (admin API vs direct proxy calls). |
Beta Was this translation helpful? Give feedback.
-
|
Hi @hemachowdary-10, here's a clear explanation of API tokens in ContextForge. What are API tokens? API tokens are long-lived credentials for programmatic access. Instead of logging in with email/password each time, you create a token once and use it in your applications. Real-world example — connecting Claude Desktop to ContextForge:
{
"mcpServers": {
"my-gateway": {
"url": "http://your-server:8080/servers/{id}/mcp",
"headers": {
"Authorization": "Bearer eyJhbGciOiJIUzI1NiI..."
}
}
}
}Token features:
API endpoints:
How tokens differ from session tokens:
The token hash is stored securely in the database — the plaintext token is only shown once at creation time. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
can someone explain the clear functionality of the API Tokens. if possible with an real time example.
Beta Was this translation helpful? Give feedback.
All reactions