Skip to main content
Practitioner ⭐️⭐️⭐️
Aug 8, 2022 3:29 PM UTC

Hi Henning,

Thanks for your patience, here is the npm package for the react-auth-wrapper: https://www.npmjs.com/package/@cognite/react-auth-wrapper. Any feedback would be highly appreciated!

Kindest Regards

Omar

4 replies

Practitioner ⭐️⭐️⭐️
Jun 16, 2022 6:57 AM UTC

Hi Henning, we are aware of this issue and we are working on a fix asap.

Practitioner ⭐️⭐️⭐️
Aug 8, 2022 3:29 PM UTC

Hi Henning,

Thanks for your patience, here is the npm package for the react-auth-wrapper: https://www.npmjs.com/package/@cognite/react-auth-wrapper. Any feedback would be highly appreciated!

Kindest Regards

Omar

Seasoned ⭐️⭐️⭐️
Aug 10, 2022 9:21 AM UTC

It’s looking really good. Made my job a lot easier. I created an issue on the repository. Nothing breaking, but I had to make a small workaround.

Seasoned ⭐️⭐️⭐️
Aug 10, 2022 12:00 PM UTC

For practical reasons I would like access to CogniteClient outside of React. What is the recommended way of achieving this while maintaining a single source of truth for authentication?

Edit: Nvm… It was just the first 401 that was tripping me up. .authenticate() fixed it.