applicake/doorkeeper — pull request #54 by miyagawa (2012-02-23 18:18:40+00:00)
Title: Ignore Authorization: headers that are not Bearer

Currently doorkeeper_for hook looks up AccessToken when Authorization: header exists no matter what the type of the header is. It might be mostly harmless but the lookup is not necessary and I believe the behavior is incorrect.

This patch prevents trying to load oauth tokens with such requests.