This repository was archived by the owner on May 31, 2022. It is now read-only.
This repository was archived by the owner on May 31, 2022. It is now read-only.
Client credentials not correctly decoded in Basic Auth #1826
Open
Description
From RFC 6749:
Clients in possession of a client password MAY use the HTTP Basic
authentication scheme as defined in [RFC2617] to authenticate with
the authorization server. The client identifier is encoded using the
"application/x-www-form-urlencoded" encoding algorithm per
Appendix B, and the encoded value is used as the username; the client
password is encoded using the same algorithm and used as the
password.
However, the corresponding decoding is not applied when Basic client credentials are received.
Note that people often don't realise this slightly odd encoding is required, and blame their (conformant) client library instead.