You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
brent-cybrid
changed the title
Doorkeeper::Errors::InvalidRedirectUri Raised When no Redirect URI Set
Doorkeeper::Errors::InvalidRedirectUri Raised When No Redirect URI Set
Dec 4, 2023
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
withredirect_uri=''
orredirect_uri=nil
or omit theredirect_uri
parameter.Observe an
Doorkeeper::Errors::InvalidRedirectUri
exception with the messageThe 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 messageThe requested redirect uri is malformed or doesn't match client redirect URI.
System configuration
Set
allow_blank_redirect_uri = true
in the Doorkeeper config.The text was updated successfully, but these errors were encountered: