We use ThreeJS’s LoadingManager to do this. You’ll use this to send the user to Sketchfab for login as shown here: const CLIENT_ID = 'YOUR_CLIENT_ID_HERE' const AUTHENTICATION_URL = `$) We can’t keep an API key a secret in a web app, so we instead rely on the redirect URI (if someone malicious uses your client ID, Sketchfab will redirect them to your real app after login, regardless of who may have initiated the login).Īfter your register your app you’ll have a Client ID. You’ll want to use the Implicit grant type. This should be the final URI where you will deploy your app. The current process at the time of writing is to contact them.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |