usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
25.67k stars 1.17k forks source link

OAuth2: The scope in case of `Password Credentials` grant type #2446

Closed nicolasnobelis closed 3 months ago

nicolasnobelis commented 3 months ago

I have checked the following:

Describe the bug

See attached screenshot:

The scope param is always passed (when according to the spec, it is optional).

The server responds with

{
  "error": "invalid_scope",
  "error_description": "Invalid scopes: "
}

This issue requires the same kind of fix as https://github.com/usebruno/bruno/pull/1807/files but for Password Credentials.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

bruno_bug

helloanoop commented 3 months ago

The PR has been merged. This is set to go out in the upcoming 1.20.0 release