Steps to reproduce
Create an application with no redirect_uri set, i.e., redirect_uri=nil.
Set allow_blank_redirect_uri = true in the Doorkeeper config.
Hit GET /oauth/authorize with redirect_uri='' or redirect_uri=nil or omit the redirect_uri parameter.
Observe an Doorkeeper::Errors::InvalidRedirectUri exception with the message The requested redirect uri is malformed or doesn't match client redirect URI.
Expected behavior
In versions 5.6.6 and before an authorization code was returned.
Actual behavior
An Doorkeeper::Errors::InvalidRedirectUri exception with the message The requested redirect uri is malformed or doesn't match client redirect URI.
System configuration
Set allow_blank_redirect_uri = true in the Doorkeeper config.