Skip to main content

Loading scenes

info

It is recommended to use the Novorender OAuth instead of using username+password authentication for getting access token, documentation for using OAuth can be found here

To load your own scenes we recommend that you use the @novorender/data-js-api package, but you can also use the Data REST API directly if you prefer. We will be using the npm package in all our examples.

Public scenes

Private scenes

Only scene related endpoints are covered by the NPM package, so for user / authentication endpoints you will have to use the REST API as well.

Username / Password

Once you have authenticated and acquired an access token you can follow the example for username/password flow, just use the access token you got from AD instead of POST - /api/user/login.