Im developing TFS extension using angular and when I debugging the extension I unable to make rest calls using the VSS SDK, it try to make a request to WebPlatformAuth but it throw exception:
"Error issuing session token: HostAuthorizationNotFound".
Just to make it clear, Im able to use VSS to get WebContext for example project.name or user.id.
(I debug my extension by running ng serve on my localhost and provide the extension manifest "baseUri" field).
UPDATE - It happen also when I deploy the extension without the baseUri - not in debug mode.
Just to mention, I also developed another simple extension using only html and jquery and it worked just fine without any additional configurations.
Apparently I just had to enter the 'manage extensions' page at the Azure Devops and give my extension the authorization to the actions it ask for.