I have an Agent App Widget that works great for Agents that are Admin but fails for non-Admins because of an “invalid_scope” error on the onIdentityFetched.
The Scopes I added to “App scopes and API access” in the Developer Authorization window are:
All seem to have “normal” as the role in the documentation so they are not limited to Admin
When I log in as Admin the “data” from the onIdentityFetched(error, data) returns the following scopes, so they match the authorized scopes.
scopes: (4) [“chats–access:ro”, “chats–all:ro”, “chats–my:ro”]
But when I log in as a normal Agent the data from the onIdentityFetched(error, data) is empty and the error is “invalid_scope” so what is invalid about my scope?