Config.js twitch.configuration.broadcaster undefined

the user is me on my account chanel in a configuration extension

with this code added

window.Twitch.ext.onError(function(t) {

console.log(t)
}
)

i have this error

Error: Twitch.ext.configuration.set attempted before onAuthorized returned
at Object.setConfiguration (twitch-ext.min.js:30:82223)
at updateConfig (config.js:49:22)
at config.js:63:1

ok i call updateConfig() in twitch.onAuthorized

twitch.onAuthorized((auth) => {
token = auth.token;
userId = auth.userId;
updateConfig()
});

and i have a object is fine