Added API key access to AUTO_LOGIN=True and fixed SecretKeyModal (#1994)
* chore: Add type attribute to button in SecretKeyModal * chore: Refactor Header component to fix autoLogin button visibility * docs(api.mdx): update admonition message to remove reference to LANGFLOW_AUTO_LOGIN environment variable docs(cli.mdx): update CLI command example to use 'run' subcommand instead of no arguments feat(cli.mdx): add 'api-key' command to create API key for default superuser when LANGFLOW_AUTO_LOGIN is True * docs(api.mdx): update admonition message to remove reference to LANGFLOW_AUTO_LOGIN environment variable * chore: Fix typo in get-curl-code.tsx --------- Co-authored-by: anovazzi1 <otavio2204@gmail.com>
This commit is contained in:
parent
3f5769dd79
commit
8f6b9d6443
5 changed files with 48 additions and 9 deletions
|
|
@ -7,9 +7,12 @@ import Admonition from "@theme/Admonition";
|
|||
Langflow provides an API key functionality that allows users to access their individual components and flows without traditional login authentication. The API key is a user-specific token that can be included in the request header or query parameter to authenticate API calls. This documentation outlines how to generate, use, and manage API keys in Langflow.
|
||||
|
||||
<Admonition type="warning">
|
||||
This feature requires the LANGFLOW_AUTO_LOGIN environment variable to be set to False.
|
||||
The default user and password are set using the LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD environment variables.
|
||||
The default values are langflow and langflow, respectively.
|
||||
The default user and password are set using the LANGFLOW_SUPERUSER and
|
||||
LANGFLOW_SUPERUSER_PASSWORD environment variables.
|
||||
|
||||
The default values are
|
||||
langflow and langflow, respectively.
|
||||
|
||||
</Admonition>
|
||||
|
||||
## Generating an API Key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue