Update jwttoken.md

Emoji swap
This commit is contained in:
silentoplayz 2024-12-17 13:56:46 -05:00 committed by GitHub
parent fdafdd3123
commit ffb3387018

View File

@ -1,6 +1,6 @@
--- ---
sidebar_position: 12 sidebar_position: 12
title: "🔰 Configuring JWT Expiration" title: "📎 Configuring JWT Expiration"
--- ---
Overview Overview
@ -74,4 +74,4 @@ A: The valid time units are `s`, `m`, `h`, `d`, `w`, or `-1` for no expiration.
* Q: How do I obtain a JWT token for authentication purposes? * Q: How do I obtain a JWT token for authentication purposes?
A: You can obtain a JWT token from the Open WebUI API or by navigating to `Settings > Account` in the Open WebUI admin panel. A: You can obtain a JWT token from the Open WebUI API or by navigating to `Settings > Account` in the Open WebUI admin panel.
* Q: Can I override the default secret key used for JWT tokens? * Q: Can I override the default secret key used for JWT tokens?
A: Yes, you can override the default secret key by setting the `WEBUI_SECRET_KEY` environment variable. A: Yes, you can override the default secret key by setting the `WEBUI_SECRET_KEY` environment variable.