Cannot get user id in local/hosted test

Hi BarryCarlyon,

I forgot indeed to do it. I just did and it added an option to the bottom of my panel to share my account information:
image

Unfortunately when i try to check to content of onAuthorize; i still get the same opaque id. Maybe it’s different in the JWT? I could not check right away but I was under the assumption that onAuthorize should give the same results.

Twitch.ext.onAuthorized((a)=>console.log(a));
instrument.js:108 {channelId: “618314972”, clientId: “w1tpnlsjmspoukzdnjz2wdczy3wczs”, token: “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2M…iXX19.aWyg9yYYNpisUYXwRyyGT319ITG50Qvw54xsg5_4yjw”, userId: “UqxqSCjozUX31-NF72L3g”}

Is there something I’m missing?

On a slightly different matter, I’d like to proactively pop the permission popup, without the user to have to go and click himself on the icon; is that possible?

Thank you very much for your valuable help.

Julien