You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason is that secret is not set in providerOptions for custom providers (since they have their own object). I believe this is a recent regression from #5249
Expected behavior
Request should not bail for custom providers
Actual behavior
Exception occurs
The text was updated successfully, but these errors were encountered:
Initial checklist
Link to runnable example
No response
Steps to reproduce
Create a custom provider, when running companion and requesting the custom provider service will throw an exception here:
packages/@uppy/companion/src/server/provider/index.js
module.exports.getProviderMiddleware = (providers, grantConfig) => {
const { secret } = providerOptions[providerName];
Reason is that secret is not set in providerOptions for custom providers (since they have their own object). I believe this is a recent regression from #5249
Expected behavior
Request should not bail for custom providers
Actual behavior
Exception occurs
The text was updated successfully, but these errors were encountered: