Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
oauth2-0.31, oauth2-1.0.0
-
None
Description
When new OAuthAuthzRequest(request); is passed a HEAD request, it errors out with "Method not correct". I only noticed this because one client does not pass a state parameter, and so a web browser was trying to cache the login page. For now we just worked around it by wrapping the request in HttpServletRequestWrapper, but I figured it would be nice if the library supported HEAD as well. I would not consider this a high priority as not many other people are likely hitting the error, but would be a nice to have.