You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an app is assigned to a team and tries to specify scopes other than 'identify' in the OAuth2 Client Credentials flow when requesting a token, HTTP 400 is returned with the following body:
{"error": "invalid_scope", "error_description": "The requested scope is invalid, unknown, or malformed."}
Steps to Reproduce
Create an app. Assign it to a team. Using the client credentials flow using the client_id and client_secret, try to request a token while specifying scopes other than/in addition to 'identify'.
Expected Behavior
A token is granted.
Current Behavior
HTTP 400 with the following body is returned:
{"error": "invalid_scope", "error_description": "The requested scope is invalid, unknown, or malformed."}
Screenshots/Videos
N/A
Client and System Information
Tested using HttpClient in C# .NET 5.0. Windows 10 Build 19041