Closed
Description
Something that was confusing to me about this is the AuthCodeGrant
only calls validateCredentials
for private clients which made it seem like you no longer needed to check if the client was confidential before attempting to verify the secret.
However the refresh token grant and password grant both are supposed to support public clients according to the OAuth specification and do not check Client::isConfidential
before calling validateClient
.
Wouldn't that mean the isConfidential
check in the AuthCodeGrant
is unnecessary as you will need to check yourself in validateClient
in order to support the other grant types?
Originally posted by @matt-allan in #1034 (comment)