-
OAuth2Worker
Hi,
I use a OAuth2 Worker to get an access token.
An object component is in the library with $superclass defined as oAuth2Worker.
But the $completed method of my class is never used. So I can’t catch when the $authorize() is finished.
I have try to use an object or an object reference : both don’t work. I get the token but don’t enter in $authorize.
Is there a work around ? or something missing ?
thanks,
Do $clib.$objects.oAuth2Worker.$newref() Returns voAuth2Access
Do voAuth2Access.$granttype.$assign(kOW3OAUTH2grantClientCredentials)
Do voAuth2Access.$clientid.$assign(csClientId)
Do voAuth2Access.$clientsecret.$assign(csClientSecret)
Do voAuth2Access.$scope.$assign(‘https://analysis.windows.net/powerbi/api/.default’)
Do voAuth2Access.$tokenurl.$assign(con(‘https://login.microsoftonline.com/’,csTenantId,’/oauth2/v2.0/token’))
Do voAuth2Access.$protocollog.$assign(kOW3logHTML)
Do voAuth2Access.$authorize() Returns vbOk
Sorry, there were no replies found.
Log in to reply.