Media Library -> API Upload -> fill `created_by_id` field

System Information
  • Strapi Version: 4.3.2
  • Operating System: win64
  • Database: pg
  • Node Version:
  • NPM Version:
  • Yarn Version:

How can I fill the created_by_id field with authorized file upload by API?
https://docs.strapi.io/developer-docs/latest/plugins/upload.html#endpoints

At the moment when the user uploads the file with API with google issued jwt - there’s no way to identify who has uploaded file

Solved by adding custom endpoint uploadWithUsername and editing service in the plugin. Hopefully it’ll be added in future versions