Run Viewer without BrowserAuthorizationclient #45
-
The Viewer requires BrowserAuthorizationClient, I want to be able to run the viewer using just a bearer token using an api only and without interaction with the browser.
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 10 replies
-
Hi, please take a look at this example |
Beta Was this translation helpful? Give feedback.
-
itwinv4.log ./node_modules/@itwin/core-react/node_modules/@itwin/itwinui-react/esm/core/NonIdealState/ErrorPage.js I have attached the logs and package.json for your reference. |
Beta Was this translation helpful? Give feedback.
-
Hi @aruniverse, @GerardasB, |
Beta Was this translation helpful? Give feedback.
-
Hi @aruniverse, Now i am getting this error on the landing page : It still uses the old dependencies: |
Beta Was this translation helpful? Give feedback.
-
Hi @aruniverse, |
Beta Was this translation helpful? Give feedback.
-
@aruniverse, @GerardasB, |
Beta Was this translation helpful? Give feedback.
Tokens generated by "@itwin/service-authorization" are tied specifically to the service user account, which look like
<CLIENT_ID>@apps.imsoidc.bentley.com
. Please make sure that service account has been added to the iTwin of the iModel you are trying to access.