The GetClient method should return a not found error if no matching
client was found. However, callers of this method expect nonexistent
clients to be returned as nil without an error. This mismatch means that
an authorize request with an incorrect client ID will get a response
stating there was an unexpected server error. Separate error handling of
ErrNotFound is needed.
The GetClient method should return a not found error if no matching client was found. However, callers of this method expect nonexistent clients to be returned as nil without an error. This mismatch means that an authorize request with an incorrect client ID will get a response stating there was an unexpected server error. Separate error handling of ErrNotFound is needed.