Add JWT authentication with user/password login, role-based access control, and Bearer token support while maintaining legacy API key compatibility for transition; update README with comprehensive JWT security guidelines, installation instructions for Python/SSH, development startup scripts (.env, run_dev.sh/ps1), and migrate all API examples to JWT authentication; update Ansible inventory SSH key paths from Docker container paths to local user paths
This commit is contained in:
@@ -46,3 +46,8 @@ NTFY_MSG_TYPE=ALL
|
||||
# NTFY_PASSWORD=
|
||||
# Ou utiliser un token Bearer
|
||||
# NTFY_TOKEN=
|
||||
|
||||
# JWT_SECRET_KEY pour l'authentification
|
||||
JWT_SECRET_KEY=votre-clé-secrète-production
|
||||
# JWT_EXPIRE_MINUTES pour la durée de la session
|
||||
JWT_EXPIRE_MINUTES=1440 # 24h par défaut
|
||||
|
||||
Reference in New Issue
Block a user