Scope

Use Scope to define required scopes when using OAuth.

Specification

Different modules require different scopes. This helps you control the permissions of every account. If the service supports OAuth scopes, you should set corresponding scopes for each module you write.

Scope is an array value that is required to complete the request with a list of scopes successfully.

[
	"identify",
	"users:read"
]

If a module uses RPCs that require particular scopes, the scopes should be listed in the module too.

Extend scopes

When a module requires a scope that wasn't required elsewhere previously, a dialog for extending permissions will appear.

Last updated