Companion Custom Provider needs access to custom OAuth parameters

I am trying to implement a Custom Companion Provider for ShareFile.

Sharefile returns some custom fields such as apicp, appcp and subdomain as part of the response in the OAuth response_type=code flow. I need access to these values in the provider I am implementing (for List and Download), however I don’t see a way to pipe them through.

Is there a way to support this today?

Hi. Maybe you can get some inspiration from here:
Draft: Webdav provider poc by mifi · Pull Request #4621 · transloadit/uppy · GitHub you can see there’s a dynamic parameter named “subdomain”. could something like that work?