Closed aderderian closed 3 years ago
Hi aderderian,
You'll get a 401 since swapping to the BrowserAuthorizationClient requires you have permission to the project on login. The samples are exclusively built for the agent - so unless you've swapped out all the imodels used in the project to a project you belong to, OR you get added to the project (which is unlikely) you'll get a 401.
Regarding the styles, development builds retain pre-i18n localization content, so you'll just see placeholders for those. On build, they'll be translated to English by default, you can read more about them here:
https://www.itwinjs.org/learning/frontend/localization/?term=localization
Hello, I uncommented the block in SampleBaseApp.tsx in order to try my code with the Authorization Client. The styles for the browser flow seems to be missing some imagery and looks broken. Also, providing my client-id and registering my callback url in Bentley Developer Network, I am getting a 401 on the token request.