Setting up BID API users
In this example we use Blender Studio, for other applications using roles/badges setup will be similar.
To allow Blender Studio to call our API endpoints, do the following:
- Add an OAuth2 application for the API, name it "Blender ID API". You can choose any name, but it's nice if we all use the same so we can recognise it. Set it to 'Confidential' and 'Resource owner password-based'.
- Make sure that the
cloud_demo
andcloud_subscriber
roles exist, and that they are badges. Add a rolecloud_badger
and allow it to manage the above roles. - Add a user for Blender Studio, for example using "[email protected]" as email
address. The password doesn't matter -- give it a long one and forget about it. Give the user the
cloud_badger
role. - Add an OAuth2 token to the Blender Studio user for the Blender ID API application. Make sure it
doesn't expire any time soon (e.g. somewhere in the year 2999). Give it a scope
badger
. - Configure the Blender Studio to use this token to authenticate its API calls.