[Solved] onAuthorized() never gets called

Hi guys, probably a noob question here.

I uploaded the boilerplate frontend to my extension but it seems like onAuthorized() never gets called because there’s nothing printed on the console inside the callback. It does print inside the onContext() callback though. I already granted permission on the viewer page. Do you guys know what the problem is?

EDIT: Argh darn seems to work now. Sorry guys. I’ll post again if there’s more problems.