Closed ashish-srivastava-dev closed 3 years ago
I have tried this code, but it is giving unauthorized error.
The code on the surface looks OK - can you check the scope? In the commented out version you seem to use - scope: this.getenvVariables().scope. Is that the value you have the new version of the code?
This is resolved. Thanks.
In version 2.4.0, I used DesktopAuthorizationClientConfiguration and DesktopAuthorizationClient to get the access token, but in 2.15.5 they have been deprecated. Could you please point me to some sample code that gets access token (in version 2.15.5) for a nodejs command line app?
⚠ Do not edit this section. It is required for imodeljs.github.io ➟ GitHub issue linking