Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Conversation

@thiagozf
Copy link

Most of the use cases for password grants are highly trusted mobile or desktop apps. These clientes are public, which means that the client secret cannot be protected (an attacker could extract it from binaries).

Since this grant type already exchanges username and password for an access token directly, the authorization server can ignore the client_secret param to validate the client. This prevents attackers from obtaining the client secret and exploring it on other grant types (code grant, for example).

Right now, Apis is requiring a client_secret to be defined in order to authenticate with the grant type.

This pull request fixes this issue.

@thiagozf thiagozf changed the title Client secret should not be required for "password" grant type Stops requiring a client secret when the "password" grant type is used Sep 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant