Description
Stemming off a discussion from PR #203, the question on whether the library should include authentication via the Password grant by default. To me this presents several problems:
From the spec:
(B) The authorization server authenticates the resource owner (via the user-agent) and establishes whether the resource owner grants or denies the client's access request.
This implies that it is done via the user agent as a separate request. If the auth request is unauthenticated, then the library should redirect back to the calling program to retrieve credentials. To assume the password grant in this case is not a safe assumption.
Credentials should not be included in a grant request imo - that's beyond the scope of what the OAuth spec provides for the authorization request.
Unless I'm misunderstanding something. Any thoughts?