Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Client credentials are included in the request body [NOT RECOMMENDED] #85

Closed
samskiter opened this issue Jan 14, 2015 · 1 comment
Closed

Comments

@samskiter
Copy link

i've brought this up before:

Including the client credentials in the request body using the two
parameters is NOT RECOMMENDED, and SHOULD be limited to clients
unable to directly utilize the HTTP Basic authentication scheme (or
other password-based HTTP authentication schemes). The parameters
can only be transmitted in the request body and MUST NOT be included
in the request URI.

AFNetworking already supports basic auth headers so this shouldn't be hard to change.

mattt added a commit that referenced this issue Mar 2, 2015
…conditionally encode client credentials in Base64-encoded HTTP Authorization header field, rather than in body of request.
@mattt
Copy link
Contributor

mattt commented Mar 2, 2015

Fixed by 412d256.

@mattt mattt closed this as completed Mar 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants