How to assign custom scopes to users?

The recent recommendations for how to implement this with Auth0 RBAC can be found on this QA.