1. What are scopes

Scopes are used to granting application permission to use some endpoints. Scopes are checked when requesting an access token from the MyQ Central server and when using said token to authenticate to some endpoint.

For example, if REST API application has the only scope called users and you request an access token only with this one scope. calling GET /payments would end up in an error.

2. Central server scopes

  • credit - Can change credit

  • users - Can manage users