Configurable JWT Secret: Added support for custom JWT secret via config.json (jwt_secret parameter). The system now reads the secret from configuration, falling back to JWT_DEFAULT_SECRET if not specified.
🔧 Changes
All API endpoints updated to use configurable JWT secret:
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
🆕 New Features
config.json(jwt_secretparameter). The system now reads the secret from configuration, falling back toJWT_DEFAULT_SECRETif not specified.🔧 Changes
add_user,change_password,change_user,delete_userget_all_users,get_user,get_token,verify_tokenjwt_secretparameter toconfig.json🐛 Bug Fixes
remove_padding()function signature to accept non-const string (char *instead ofconst char *)📁 Files Modified
config.jsonjwt_secretconfigurationsrc/api/*.csrc/security/jwt.cCMakeLists.txt,meson.build📊 Statistics