()
| 1667 | * Used for file-based storage of TOKEN_HASH_SECRET, EXPRESS_SESSION_SECRET, JWT_*, etc. |
| 1668 | */ |
| 1669 | export const getAuthSecretsDirectory = (): string => { |
| 1670 | return process.env.SECRETKEY_PATH ? process.env.SECRETKEY_PATH : path.join(getUserHome(), '.flowise') |
| 1671 | } |
| 1672 | |
| 1673 | /** |
| 1674 | * Generate a 32-byte auth secret (OWASP recommendation). |
no test coverage detected